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

Method test_explicit_relative_import

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

Source from the content-addressed store, hash-verified

533 self._check_package(depth, alter_sys=True)
534
535 def test_explicit_relative_import(self):
536 for depth in range(2, 5):
537 if verbose > 1: print("Testing relative imports at depth:", depth)
538 self._check_relative_imports(depth)
539
540 def test_main_relative_import(self):
541 for depth in range(2, 5):

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected