Lines Matching refs:testzip
128 # Check that testzip doesn't raise an exception
129 zipfp.testzip()
752 # Check that testzip doesn't raise an exception
753 zipfp.testzip()
1909 """Verify that testzip() doesn't swallow inappropriate exceptions."""
1915 # a ValueError, and so should calling .testzip. An earlier
1916 # version of .testzip would swallow this exception (and any other)
1920 self.assertRaises(ValueError, zipf.testzip)
2139 # testzip returns the name of the first corrupt file, or None
2140 self.assertIsNone(zipf.testzip())
2286 """Tests that files with bad CRCs return their name from testzip."""
2290 # testzip returns the name of the first corrupt file, or None
2291 self.assertEqual('afile', zipf.testzip())