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

Function test_pythonpath_isolation_inherit_path_prefer

tests/test_pex.py:464–473  ·  view source on GitHub ↗
(pythonpath_isolation_test)

Source from the content-addressed store, hash-verified

462
463
464def test_pythonpath_isolation_inherit_path_prefer(pythonpath_isolation_test):
465 # type: (PythonpathIsolationTest) -> None
466 pythonpath_isolation_test.assert_isolation(
467 inherit_path="prefer", expected_output="foo.BAR=42 bar.FOO=137"
468 )
469
470 # True should map to 'prefer'.
471 pythonpath_isolation_test.assert_isolation(
472 inherit_path=True, expected_output="foo.BAR=42 bar.FOO=137"
473 )
474
475
476def test_pex_executable():

Callers

nothing calls this directly

Calls 1

assert_isolationMethod · 0.80

Tested by

no test coverage detected