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

Function temporary_pex_root

tests/test_third_party.py:20–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18
19@contextmanager
20def temporary_pex_root():
21 # type: () -> Iterator[Tuple[str, Dict[str, str]]]
22 with temporary_dir() as pex_root, ENV.patch(PEX_ROOT=os.path.realpath(pex_root)) as env:
23 yield os.path.realpath(pex_root), env
24
25
26def test_isolated_pex_root():

Calls 2

temporary_dirFunction · 0.90
patchMethod · 0.45

Tested by

no test coverage detected