]> granicus.if.org Git - python/commitdiff
Issue #19638: Skip large digit string tests on 32-bit platforms.
authorMark Dickinson <dickinsm@gmail.com>
Tue, 26 Nov 2013 17:02:46 +0000 (17:02 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Tue, 26 Nov 2013 17:02:46 +0000 (17:02 +0000)
Lib/test/test_strtod.py

index faf5b572a8de3b9215a22f4eb4727e7f1a7720e0..c285b0f8da3d3f7e33c45dd7ff0fe3d1f6b9f3f4 100644 (file)
@@ -251,6 +251,9 @@ class StrtodTests(unittest.TestCase):
 
     @test_support.bigmemtest(minsize=5 * test_support._1G, memuse=1)
     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):