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

Method doTest

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

Source from the content-addressed store, hash-verified

155 return {f"f{n}.py": test_src for n in range(65537)}
156
157 def doTest(self, expected_ext, files, *modules, **kw):
158 if 'prefix' not in kw:
159 kw['prefix'] = 'pre/fix/'
160 self.makeZip(files, **kw)
161 self.doTestWithPreBuiltZip(expected_ext, *modules, **kw)
162
163 def doTestWithPreBuiltZip(self, expected_ext, *modules,
164 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