summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNadeem Vawda <nadeem.vawda@gmail.com>2012-02-23 12:16:15 (GMT)
committerNadeem Vawda <nadeem.vawda@gmail.com>2012-02-23 12:16:15 (GMT)
commitbc8c8175cc2aeebf0b069e6f36e7cfa4f6184154 (patch)
tree97b9cd69f1b41c144eb70c8dd210d5f5e07d52b4
parentb063a48406f70a1c9a9debed593d350f30c0a47b (diff)
downloadcpython-bc8c8175cc2aeebf0b069e6f36e7cfa4f6184154.zip
cpython-bc8c8175cc2aeebf0b069e6f36e7cfa4f6184154.tar.gz
cpython-bc8c8175cc2aeebf0b069e6f36e7cfa4f6184154.tar.bz2
Fix previous fix (for test_zlib) to work on 32-bit systems.
-rw-r--r--Lib/test/test_zlib.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_zlib.py b/Lib/test/test_zlib.py
index 486b37c..68dc2b1 100644
--- 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)