[Python-checkins] cpython: Fix previous fix (for test_zlib) to work on 32-bit systems.

nadeem.vawda python-checkins at python.org
Thu Feb 23 13:23:28 CET 2012


http://hg.python.org/cpython/rev/a5f53c08c9cf
changeset: 75191:a5f53c08c9cf
user: Nadeem Vawda <nadeem.vawda at gmail.com>
date: Thu Feb 23 14:16:15 2012 +0200
summary:
 Fix previous fix (for test_zlib) to work on 32-bit systems.
files:
 Lib/test/test_zlib.py | 4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Lib/test/test_zlib.py b/Lib/test/test_zlib.py
--- a/Lib/test/test_zlib.py
+++ b/Lib/test/test_zlib.py
@@ -72,8 +72,8 @@
 # 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)
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /