mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
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. ........
This commit is contained in:
@@ -85,7 +85,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
|
||||
|
||||
Reference in New Issue
Block a user