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

Method test_executable_without_cwd

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

Source from the content-addressed store, hash-verified

525 @unittest.skipIf(sysconfig.is_python_build(),
526 "need an installed Python. See #7774")
527 def test_executable_without_cwd(self):
528 # For a normal installation, it should work without 'cwd'
529 # argument. For test runs in the build directory, see #7774.
530 self._assert_cwd(os.getcwd(), "somethingyoudonthave",
531 executable=sys.executable)
532
533 def test_stdin_pipe(self):
534 # stdin redirection

Callers

nothing calls this directly

Calls 1

_assert_cwdMethod · 0.95

Tested by

no test coverage detected