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

Method test_directory

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

Source from the content-addressed store, hash-verified

258 importlib.machinery.SourcelessFileLoader)
259
260 def test_directory(self):
261 with os_helper.temp_dir() as script_dir:
262 script_name = _make_test_script(script_dir, '__main__')
263 self._check_script(script_dir, script_name, script_dir,
264 script_dir, '',
265 importlib.machinery.SourceFileLoader)
266
267 def test_directory_compiled(self):
268 with os_helper.temp_dir() as script_dir:

Callers

nothing calls this directly

Calls 2

_check_scriptMethod · 0.95
_make_test_scriptFunction · 0.70

Tested by

no test coverage detected