MCPcopy Index your code
hub / github.com/python/cpython / test_executable_with_cwd

Method test_executable_with_cwd

Lib/test/test_subprocess.py:517–521  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

515 @unittest.skipIf(sys.base_prefix != sys.prefix,
516 'Test is not venv-compatible')
517 def test_executable_with_cwd(self):
518 python_dir, python_base = self._split_python_path()
519 python_dir = self._normalize_cwd(python_dir)
520 self._assert_cwd(python_dir, "somethingyoudonthave",
521 executable=sys.executable, cwd=python_dir)
522
523 @unittest.skipIf(sys.base_prefix != sys.prefix,
524 'Test is not venv-compatible')

Callers

nothing calls this directly

Calls 3

_split_python_pathMethod · 0.95
_normalize_cwdMethod · 0.95
_assert_cwdMethod · 0.95

Tested by

no test coverage detected