]> granicus.if.org Git - python/commitdiff
Fix previous fix (for test_zlib) to work on 32-bit systems.
authorNadeem Vawda <nadeem.vawda@gmail.com>
Thu, 23 Feb 2012 12:16:15 +0000 (14:16 +0200)
committerNadeem Vawda <nadeem.vawda@gmail.com>
Thu, 23 Feb 2012 12:16:15 +0000 (14:16 +0200)
Lib/test/test_zlib.py

index 486b37cd9e00f21832d896bc43f78f395ec4671f..68dc2b1afc15b3dc0f529f911e7839b5356f48d9 100644 (file)
@@ -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)