MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_directory

Method test_directory

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

Source from the content-addressed store, hash-verified

690 compiled_name, expect_spec=False)
691
692 def test_directory(self):
693 with temp_dir() as script_dir:
694 mod_name = '__main__'
695 script_name = self._make_test_script(script_dir, mod_name)
696 self._check_script(script_dir, "<run_path>", script_name,
697 script_dir, mod_name=mod_name)
698
699 def test_directory_compiled(self):
700 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