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

Method _split_python_path

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

Source from the content-addressed store, hash-verified

423
424 # For use in the test_cwd* tests below.
425 def _split_python_path(self):
426 # Return normalized (python_dir, python_base).
427 python_path = os.path.realpath(sys.executable)
428 return os.path.split(python_path)
429
430 # For use in the test_cwd* tests below.
431 def _assert_cwd(self, expected_cwd, python_arg, **kwargs):

Calls 2

realpathMethod · 0.45
splitMethod · 0.45

Tested by

no test coverage detected