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

Method test_directory

Lib/test/test_runpy.py:694–699  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

692 compiled_name, expect_spec=False)
693
694 def test_directory(self):
695 with temp_dir() as script_dir:
696 mod_name = '__main__'
697 script_name = self._make_test_script(script_dir, mod_name)
698 self._check_script(script_dir, "<run_path>", script_name,
699 script_dir, mod_name=mod_name)
700
701 def test_directory_compiled(self):
702 with temp_dir() as script_dir:

Callers

nothing calls this directly

Calls 3

_make_test_scriptMethod · 0.95
_check_scriptMethod · 0.95
temp_dirFunction · 0.90

Tested by

no test coverage detected