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

Method _normalize_cwd

Lib/test/test_subprocess.py:417–422  ·  view source on GitHub ↗
(self, cwd)

Source from the content-addressed store, hash-verified

415
416 # For use in the test_cwd* tests below.
417 def _normalize_cwd(self, cwd):
418 # Normalize an expected cwd (for Tru64 support).
419 # We can't use os.path.realpath since it doesn't expand Tru64 {memb}
420 # strings. See bug #1063571.
421 with os_helper.change_cwd(cwd):
422 return os.getcwd()
423
424 # For use in the test_cwd* tests below.
425 def _split_python_path(self):

Callers 7

test_cwdMethod · 0.95
test_cwd_with_bytesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected