Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 90ee4df

Browse files
committed
Merged revisions 79848 via svnmerge from
svn+ssh://[email protected]/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. ........
1 parent 3318d29 commit 90ee4df

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

Lib/test/test_zlib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def test_badcompressobj(self):
8585

8686
def test_baddecompressobj(self):
8787
# verify failure on building decompress object with bad params
88-
self.assertRaises(ValueError, zlib.decompressobj, 0)
88+
self.assertRaises(ValueError, zlib.decompressobj, -1)
8989

9090
def test_decompressobj_badflush(self):
9191
# verify failure on calling decompressobj.flush with bad params

Misc/NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1015,6 +1015,8 @@ Documentation
10151015
Tests
10161016
-----
10171017

1018+
- Issue #8193: Fix test_zlib failure with zlib 1.2.4.
1019+
10181020
- Issue #8248: Add some tests for the bool type. Patch by Gregory Nofi.
10191021

10201022
- Issue #8263: Now regrtest.py will report a failure if it receives a

0 commit comments

Comments
 (0)