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

Method test_cwd_with_bytes

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

Source from the content-addressed store, hash-verified

454 self._assert_cwd(temp_dir, sys.executable, cwd=temp_dir)
455
456 def test_cwd_with_bytes(self):
457 temp_dir = tempfile.gettempdir()
458 temp_dir = self._normalize_cwd(temp_dir)
459 self._assert_cwd(temp_dir, sys.executable, cwd=os.fsencode(temp_dir))
460
461 def test_cwd_with_pathlike(self):
462 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