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

Method test_run_module

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

Source from the content-addressed store, hash-verified

438 if verbose > 1: print("Module executed successfully")
439
440 def test_run_module(self):
441 for depth in range(4):
442 if verbose > 1: print("Testing package depth:", depth)
443 self._check_module(depth)
444
445 def test_run_module_in_namespace_package(self):
446 for depth in range(1, 4):

Callers

nothing calls this directly

Calls 2

_check_moduleMethod · 0.95
printFunction · 0.50

Tested by

no test coverage detected