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

Method test_run_package

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

_check_packageMethod · 0.95

Tested by

no test coverage detected