From: Nadeem Vawda Date: Thu, 23 Feb 2012 12:16:15 +0000 (+0200) Subject: Fix previous fix (for test_zlib) to work on 32-bit systems. X-Git-Tag: v3.3.0a1~84^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bc8c8175cc2aeebf0b069e6f36e7cfa4f6184154;p=python Fix previous fix (for test_zlib) to work on 32-bit systems. --- diff --git a/Lib/test/test_zlib.py b/Lib/test/test_zlib.py index 486b37cd9e..68dc2b1afc 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)