Searched refs:BadZipFile (Results 1 – 4 of 4) sorted by relevance
43 class BadZipFile(Exception): class53 error = BadZipfile = BadZipFile # Pre-3.2 compatibility names233 raise BadZipFile("zipfiles that span multiple disks are not supported")468 raise BadZipFile("Corrupt extra field %04x (size=%d)" % (tp, ln))485 raise BadZipFile(f"Corrupt zip64 extra field. "941 raise BadZipFile("Bad CRC-32 for file %r" % self.name)1281 except BadZipFile:1323 raise BadZipFile("File is not a zip file")1325 raise BadZipFile("File is not a zip file")1350 raise BadZipFile("Truncated central directory")[all …]
979 with self.assertRaises(zipfile.BadZipFile) as e:990 with self.assertRaises(zipfile.BadZipFile) as e:999 with self.assertRaises(zipfile.BadZipFile) as e:1013 with self.assertRaises(zipfile.BadZipFile) as e:1025 with self.assertRaises(zipfile.BadZipFile) as e:1037 with self.assertRaises(zipfile.BadZipFile) as e:1048 with self.assertRaises(zipfile.BadZipFile) as e:1572 raise zipfile.BadZipFile()1573 except zipfile.BadZipFile:1653 except zipfile.BadZipFile:[all …]
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