diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2010-04-06 17:21:09 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2010-04-06 17:21:09 (GMT) |
commit | 3b4c989cfdb396fc0e1800846b4de76a382bd77c (patch) | |
tree | 6f79d99d20a7e704dacd4e8559849311aa8f3714 | |
parent | 8279167af9ffa93d6a220254c9f0a45887118157 (diff) | |
download | cpython-3b4c989cfdb396fc0e1800846b4de76a382bd77c.zip cpython-3b4c989cfdb396fc0e1800846b4de76a382bd77c.tar.gz cpython-3b4c989cfdb396fc0e1800846b4de76a382bd77c.tar.bz2 |
Issue #8193: Fix test_zlib failure with zlib 1.2.4.
-rw-r--r-- | Lib/test/test_zlib.py | 2 | ||||
-rw-r--r-- | Misc/NEWS | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/Lib/test/test_zlib.py b/Lib/test/test_zlib.py index f1f9d38..6ffed99 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 @@ -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 |