From: Antoine Pitrou Date: Tue, 6 Apr 2010 17:24:02 +0000 (+0000) Subject: Merged revisions 79848 via svnmerge from X-Git-Tag: v2.6.6rc1~475 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=644c9dd973ad418aa681b6cd5e20f6d77f82c0fe;p=python Merged revisions 79848 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r79848 | antoine.pitrou | 2010-04-06 19:21:09 +0200 (mar., 06 avril 2010) | 3 lines 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 adb87ff0fa..d1e17962f9 100644 --- a/Lib/test/test_zlib.py +++ b/Lib/test/test_zlib.py @@ -81,7 +81,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 92bef1cb28..3595306d16 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -72,6 +72,11 @@ Build variable anymore. It also forwards the LDFLAGS settings to the linker when building a shared library. +Tests +----- + +- Issue #8193: Fix test_zlib failure with zlib 1.2.4. + What's New in Python 2.6.5? ===========================