Issue #8193: Fix test_zlib failure with zlib 1.2.4.
This commit is contained in:
parent
8279167af9
commit
3b4c989cfd
|
@ -82,7 +82,7 @@ class ExceptionTestCase(unittest.TestCase):
|
|||
|
||||
def test_baddecompressobj(self):
|
||||
# verify failure on building decompress object with bad params
|
||||
self.assertRaises(ValueError, zlib.decompressobj, 0)
|
||||
self.assertRaises(ValueError, zlib.decompressobj, -1)
|
||||
|
||||
def test_decompressobj_badflush(self):
|
||||
# verify failure on calling decompressobj.flush with bad params
|
||||
|
|
Loading…
Reference in New Issue