[Python-checkins] r79849 - in python/branches/py3k: Lib/test/test_zlib.py Misc/NEWS

antoine.pitrou python-checkins at python.org
Tue Apr 6 19:23:14 CEST 2010


Author: antoine.pitrou
Date: Tue Apr  6 19:23:13 2010
New Revision: 79849

Log:
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.
........


Modified:
   python/branches/py3k/   (props changed)
   python/branches/py3k/Lib/test/test_zlib.py
   python/branches/py3k/Misc/NEWS

Modified: python/branches/py3k/Lib/test/test_zlib.py
==============================================================================
--- python/branches/py3k/Lib/test/test_zlib.py	(original)
+++ python/branches/py3k/Lib/test/test_zlib.py	Tue Apr  6 19:23:13 2010
@@ -85,7 +85,7 @@
 
     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

Modified: python/branches/py3k/Misc/NEWS
==============================================================================
--- python/branches/py3k/Misc/NEWS	(original)
+++ python/branches/py3k/Misc/NEWS	Tue Apr  6 19:23:13 2010
@@ -1015,6 +1015,8 @@
 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


More information about the Python-checkins mailing list