From: Antoine Pitrou Date: Tue, 6 Apr 2010 17:21:09 +0000 (+0000) Subject: Issue #8193: Fix test_zlib failure with zlib 1.2.4. X-Git-Tag: v2.7b1~37 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3b4c989cfdb396fc0e1800846b4de76a382bd77c;p=python Issue #8193: Fix test_zlib failure with zlib 1.2.4. --- diff --git a/Lib/test/test_zlib.py b/Lib/test/test_zlib.py index f1f9d38090..6ffed99293 100644 --- a/Lib/test/test_zlib.py +++ b/Lib/test/test_zlib.py @@ -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 diff --git a/Misc/NEWS b/Misc/NEWS index 7a018adab9..8b415be3b3 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -251,6 +251,8 @@ C-API Tests ----- +- Issue #8193: Fix test_zlib failure with zlib 1.2.4. + - Issue #8248: Add some tests for the bool type. Patch by Gregory Nofi. - Issue #8263: Now regrtest.py will report a failure if it receives a