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

Method test_run_module_alter_sys

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

Source from the content-addressed store, hash-verified

521 self._check_package(depth, namespace=True, parent_namespaces=True)
522
523 def test_run_module_alter_sys(self):
524 for depth in range(4):
525 if verbose > 1: print("Testing package depth:", depth)
526 self._check_module(depth, alter_sys=True)
527
528 def test_run_package_alter_sys(self):
529 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