Lines Matching refs:BadZipFile
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:
1684 self.assertRaises(zipfile.BadZipFile, zipfile.ZipFile, fp)
1722 self.assertRaises(zipfile.BadZipFile, zipfile.ZipFile, TESTFN)
1726 self.assertRaises(zipfile.BadZipFile, zipfile.ZipFile, TESTFN)
1898 except zipfile.BadZipFile:
1914 self.assertRaises(zipfile.BadZipFile, zipfile.ZipFile, TESTFN, 'r')
2059 self.assertRaises(zipfile.BadZipFile, zipf.read, 'afile')
2064 self.assertRaises(zipfile.BadZipFile, corrupt_file.read)
2070 with self.assertRaises(zipfile.BadZipFile):