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

Method test_cwd_with_pathlike

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

Source from the content-addressed store, hash-verified

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()
463 temp_dir = self._normalize_cwd(temp_dir)
464 self._assert_cwd(temp_dir, sys.executable, cwd=FakePath(temp_dir))
465
466 @unittest.skipIf(mswindows, "pending resolution of issue #15533")
467 def test_cwd_with_relative_arg(self):

Callers

nothing calls this directly

Calls 3

_normalize_cwdMethod · 0.95
_assert_cwdMethod · 0.95
FakePathClass · 0.90

Tested by

no test coverage detected