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

Method testBoth

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

Source from the content-addressed store, hash-verified

234 self.doTest(pyc_ext, files, TESTMOD)
235
236 def testBoth(self):
237 files = {TESTMOD + ".py": test_src,
238 TESTMOD + pyc_ext: test_pyc}
239 self.doTest(pyc_ext, files, TESTMOD)
240
241 def testUncheckedHashBasedPyc(self):
242 source = b"state = 'old'"

Callers

nothing calls this directly

Calls 1

doTestMethod · 0.95

Tested by

no test coverage detected