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

Method test_run_module_alter_sys

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

Source from the content-addressed store, hash-verified

523 self._check_package(depth, namespace=True, parent_namespaces=True)
524
525 def test_run_module_alter_sys(self):
526 for depth in range(4):
527 if verbose > 1: print("Testing package depth:", depth)
528 self._check_module(depth, alter_sys=True)
529
530 def test_run_package_alter_sys(self):
531 for depth in range(1, 4):

Callers

nothing calls this directly

Calls 1

_check_moduleMethod · 0.95

Tested by

no test coverage detected