(self)
| 2860 | self.assertRaises(RuntimeError, self.zip2.read, "zero") |
| 2861 | |
| 2862 | def test_bad_password(self): |
| 2863 | self.zip.setpassword(b"perl") |
| 2864 | self.assertRaises(RuntimeError, self.zip.read, "test.txt") |
| 2865 | self.zip2.setpassword(b"perl") |
| 2866 | self.assertRaises(RuntimeError, self.zip2.read, "zero") |
| 2867 | |
| 2868 | @requires_zlib() |
| 2869 | def test_good_password(self): |
nothing calls this directly
no test coverage detected