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

Method assertDataEntry

Lib/test/test_zipimport.py:1010–1013  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

1008 msg=f"Recreate {full_parts_glob}, unexpected contents."
1009 )
1010 def assertDataEntry(name):
1011 zinfo = z.getinfo(name)
1012 self.assertEqual(zinfo.date_time, (1980, 1, 1, 0, 0, 0))
1013 self.assertGreater(zinfo.file_size, 0xffff_ffff)
1014 assertDataEntry("data1")
1015 assertDataEntry("data2")
1016

Callers

nothing calls this directly

Calls 3

assertGreaterMethod · 0.80
getinfoMethod · 0.45
assertEqualMethod · 0.45

Tested by

no test coverage detected