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

Method test_directory

Lib/test/test_cmd_line_script.py:249–254  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

247 importlib.machinery.SourcelessFileLoader)
248
249 def test_directory(self):
250 with os_helper.temp_dir() as script_dir:
251 script_name = _make_test_script(script_dir, '__main__')
252 self._check_script(script_dir, script_name, script_dir,
253 script_dir, '',
254 importlib.machinery.SourceFileLoader)
255
256 def test_directory_compiled(self):
257 with os_helper.temp_dir() as script_dir:

Callers

nothing calls this directly

Calls 3

_check_scriptMethod · 0.95
temp_dirMethod · 0.80
_make_test_scriptFunction · 0.70

Tested by

no test coverage detected