Home
last modified time | relevance | path

Searched refs:BadZipFile (Results 1 - 2 of 2) sorted by relevance

/third_party/python/Lib/
H A Dzipfile.py39 __all__ = ["BadZipFile", "BadZipfile", "error",
44 class BadZipFile(Exception): class
54 error = BadZipfile = BadZipFile # Pre-3.2 compatibility names
262 raise BadZipFile("zipfiles that span multiple disks are not supported")
501 raise BadZipFile("Corrupt extra field %04x (size=%d)" % (tp, ln))
518 raise BadZipFile(f"Corrupt zip64 extra field. "
976 raise BadZipFile("Bad CRC-32 for file %r" % self.name)
1328 except BadZipFile:
1370 raise BadZipFile("File is not a zip file")
1372 raise BadZipFile("Fil
[all...]
/third_party/python/Lib/test/
H A Dtest_zipfile.py985 with self.assertRaises(zipfile.BadZipFile) as e:
996 with self.assertRaises(zipfile.BadZipFile) as e:
1005 with self.assertRaises(zipfile.BadZipFile) as e:
1019 with self.assertRaises(zipfile.BadZipFile) as e:
1031 with self.assertRaises(zipfile.BadZipFile) as e:
1043 with self.assertRaises(zipfile.BadZipFile) as e:
1054 with self.assertRaises(zipfile.BadZipFile) as e:
1739 raise zipfile.BadZipFile()
1740 except zipfile.BadZipFile:
1820 except zipfile.BadZipFile
[all...]

Completed in 9 milliseconds