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

Method doTest

Lib/test/test_zipimport.py:155–159  ·  view source on GitHub ↗
(self, expected_ext, files, *modules, **kw)

Source from the content-addressed store, hash-verified

153 return {f"f{n}.py": test_src for n in range(65537)}
154
155 def doTest(self, expected_ext, files, *modules, **kw):
156 if 'prefix' not in kw:
157 kw['prefix'] = 'pre/fix/'
158 self.makeZip(files, **kw)
159 self.doTestWithPreBuiltZip(expected_ext, *modules, **kw)
160
161 def doTestWithPreBuiltZip(self, expected_ext, *modules,
162 call=None, prefix='', **kw):

Callers 15

testAFakeZlibMethod · 0.95
testPyMethod · 0.95
testPycMethod · 0.95
testBothMethod · 0.95
testEmptyPyMethod · 0.95
testBadMagicMethod · 0.95
testBadMagic2Method · 0.95
testBadMTimeMethod · 0.95
test2038MTimeMethod · 0.95
testPackageMethod · 0.95

Calls 2

makeZipMethod · 0.95
doTestWithPreBuiltZipMethod · 0.95

Tested by

no test coverage detected