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

Method testPackage

Lib/test/test_zipimport.py:311–315  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

309 self.doTest(".py", files, TESTMOD)
310
311 def testPackage(self):
312 packdir = TESTPACK + os.sep
313 files = {packdir + "__init__" + pyc_ext: test_pyc,
314 packdir + TESTMOD + pyc_ext: test_pyc}
315 self.doTest(pyc_ext, files, TESTPACK, TESTMOD)
316
317 def testSubPackage(self):
318 # Test that subpackages function when loaded from zip

Callers

nothing calls this directly

Calls 1

doTestMethod · 0.95

Tested by

no test coverage detected