Lines Matching refs:BadZipFile
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:
1686 self.assertRaises(zipfile.BadZipFile, zipfile.ZipFile, fp)
1724 self.assertRaises(zipfile.BadZipFile, zipfile.ZipFile, TESTFN)
1728 self.assertRaises(zipfile.BadZipFile, zipfile.ZipFile, TESTFN)
1900 except zipfile.BadZipFile:
1916 self.assertRaises(zipfile.BadZipFile, zipfile.ZipFile, TESTFN, 'r')
2061 self.assertRaises(zipfile.BadZipFile, zipf.read, 'afile')
2066 self.assertRaises(zipfile.BadZipFile, corrupt_file.read)
2072 with self.assertRaises(zipfile.BadZipFile):