MCPcopy
hub / github.com/pex-tool/pex / test_local_pip_package

Function test_local_pip_package

tests/test_virtualenv.py:13–21  ·  view source on GitHub ↗
(tmpdir)

Source from the content-addressed store, hash-verified

11
12
13def 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"])

Callers

nothing calls this directly

Calls 4

touchFunction · 0.90
joinMethod · 0.45
createMethod · 0.45
executeMethod · 0.45

Tested by

no test coverage detected