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

Method test_run_package_alter_sys

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

_check_packageMethod · 0.95
printFunction · 0.50

Tested by

no test coverage detected