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

Method test_cwd

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

Source from the content-addressed store, hash-verified

448 normcase(p.stdout.read().decode()))
449
450 def test_cwd(self):
451 # Check that cwd changes the cwd for the child process.
452 temp_dir = tempfile.gettempdir()
453 temp_dir = self._normalize_cwd(temp_dir)
454 self._assert_cwd(temp_dir, sys.executable, cwd=temp_dir)
455
456 def test_cwd_with_bytes(self):
457 temp_dir = tempfile.gettempdir()

Callers

nothing calls this directly

Calls 2

_normalize_cwdMethod · 0.95
_assert_cwdMethod · 0.95

Tested by

no test coverage detected