]> granicus.if.org Git - python/commitdiff
Fix misuse of the bigmemtest decorator
authorAntoine Pitrou <solipsis@pitrou.net>
Tue, 26 Nov 2013 19:00:34 +0000 (20:00 +0100)
committerAntoine Pitrou <solipsis@pitrou.net>
Tue, 26 Nov 2013 19:00:34 +0000 (20:00 +0100)
Lib/test/test_strtod.py

index c285b0f8da3d3f7e33c45dd7ff0fe3d1f6b9f3f4..8cc23770e4829e89e706af843489fd85484f0bd3 100644 (file)
@@ -249,11 +249,9 @@ class StrtodTests(unittest.TestCase):
                     else:
                         assert False, "expected ValueError"
 
-    @test_support.bigmemtest(minsize=5 * test_support._1G, memuse=1)
+    @test_support.precisionbigmemtest(size=test_support._2G, memuse=3,
+                                      dry_run=False)
     def test_oversized_digit_strings(self, maxsize):
-        if sys.maxsize <= 0x7fffffff:
-            self.skipTest("Only applies on 64-bit systems.")
-
         # Input string whose length doesn't fit in an INT.
         s = "1." + "1" * int(2.2e9)
         with self.assertRaises(ValueError):