Lines Matching refs:BadZipfile
634 raise zipfile.BadZipfile()
635 except zipfile.BadZipfile:
969 except zipfile.BadZipfile:
1004 self.assertRaises(zipfile.BadZipfile, zipfile.ZipFile, fp)
1045 self.assertRaises(zipfile.BadZipfile, zipfile.ZipFile, TESTFN)
1049 self.assertRaises(zipfile.BadZipfile, zipfile.ZipFile, TESTFN)
1204 self.assertRaises(zipfile.BadZipfile, zipf.read, 'afile')
1209 self.assertRaises(zipfile.BadZipfile, corrupt_file.read)
1215 with self.assertRaises(zipfile.BadZipfile):
1253 except zipfile.BadZipfile:
1270 self.assertRaises(zipfile.BadZipfile, zipfile.ZipFile, TESTFN, 'r')