projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b063a48
)
Fix previous fix (for test_zlib) to work on 32-bit systems.
author
Nadeem Vawda
<nadeem.vawda@gmail.com>
Thu, 23 Feb 2012 12:16:15 +0000
(14:16 +0200)
committer
Nadeem Vawda
<nadeem.vawda@gmail.com>
Thu, 23 Feb 2012 12:16:15 +0000
(14:16 +0200)
Lib/test/test_zlib.py
patch
|
blob
|
history
diff --git
a/Lib/test/test_zlib.py
b/Lib/test/test_zlib.py
index 486b37cd9e00f21832d896bc43f78f395ec4671f..68dc2b1afc15b3dc0f529f911e7839b5356f48d9 100644
(file)
--- a/
Lib/test/test_zlib.py
+++ b/
Lib/test/test_zlib.py
@@
-72,8
+72,8
@@
class ChecksumTestCase(unittest.TestCase):
# Issue #10276 - check that inputs >=4GB are handled correctly.
class ChecksumBigBufferTestCase(unittest.TestCase):
- @bigmemtest(size=_4G + 4, memuse=1)
- def test_big_buffer(self,size):
+ @bigmemtest(size=_4G + 4, memuse=1
, dry_run=False
)
+ def test_big_buffer(self,
size):
data = b"nyan" * (_1G + 1)
self.assertEqual(zlib.crc32(data), 1044521549)
self.assertEqual(zlib.adler32(data), 2256789997)