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

Method test_run_package_alter_sys

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

Source from the content-addressed store, hash-verified

528 self._check_module(depth, alter_sys=True)
529
530 def test_run_package_alter_sys(self):
531 for depth in range(1, 4):
532 if verbose > 1: print("Testing package depth:", depth)
533 self._check_package(depth, alter_sys=True)
534
535 def test_explicit_relative_import(self):
536 for depth in range(2, 5):

Callers

nothing calls this directly

Calls 1

_check_packageMethod · 0.95

Tested by

no test coverage detected