(tmpdir)
| 11 | |
| 12 | |
| 13 | def test_local_pip_package(tmpdir): |
| 14 | # type: (Tempdir) -> None |
| 15 | |
| 16 | cwd = tmpdir.join("chroot") |
| 17 | touch(os.path.join(cwd, "pip", "__init__.py")) |
| 18 | venv_dir = tmpdir.join("venv") |
| 19 | |
| 20 | venv = Virtualenv.create(venv_dir=venv_dir, cwd=cwd, install_pip=InstallationChoice.UPGRADED) |
| 21 | venv.interpreter.execute(args=["-m", "pip", "-V"]) |