Searched refs:BadZipFile (Results 1 – 5 of 5) sorted by relevance
42 class BadZipFile(Exception): class52 error = BadZipfile = BadZipFile # Pre-3.2 compatibility names232 raise BadZipFile("zipfiles that span multiple disks are not supported")467 raise BadZipFile("Corrupt extra field %04x (size=%d)" % (tp, ln))484 raise BadZipFile(f"Corrupt zip64 extra field. "940 raise BadZipFile("Bad CRC-32 for file %r" % self.name)1280 except BadZipFile:1322 raise BadZipFile("File is not a zip file")1324 raise BadZipFile("File is not a zip file")1349 raise BadZipFile("Truncated central directory")[all …]
977 with self.assertRaises(zipfile.BadZipFile) as e:988 with self.assertRaises(zipfile.BadZipFile) as e:997 with self.assertRaises(zipfile.BadZipFile) as e:1011 with self.assertRaises(zipfile.BadZipFile) as e:1023 with self.assertRaises(zipfile.BadZipFile) as e:1035 with self.assertRaises(zipfile.BadZipFile) as e:1046 with self.assertRaises(zipfile.BadZipFile) as e:1570 raise zipfile.BadZipFile()1571 except zipfile.BadZipFile:1651 except zipfile.BadZipFile:[all …]
204 except zipfile.BadZipFile:
28 .. exception:: BadZipFile37 Alias of :exc:`BadZipFile`, for compatibility with older Python versions.
5407 - Issue #4844: ZipFile now raises BadZipFile when opens a ZIP file with an11698 - Issue #7351: Add ``zipfile.BadZipFile`` spelling of the exception name and