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

Method test_run_package

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

Source from the content-addressed store, hash-verified

448 self._check_module(depth, namespace=True, parent_namespaces=True)
449
450 def test_run_package(self):
451 for depth in range(1, 4):
452 if verbose > 1: print("Testing package depth:", depth)
453 self._check_package(depth)
454
455 def test_run_package_init_exceptions(self):
456 # These were previously wrapped in an ImportError; see Issue 14285

Callers

nothing calls this directly

Calls 2

_check_packageMethod · 0.95
printFunction · 0.50

Tested by

no test coverage detected