diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2013-11-26 17:02:46 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2013-11-26 17:02:46 (GMT) |
commit | c02c6df2c7a7b9fe8bc5de25ed22fa12a7c34c9a (patch) | |
tree | 9d8c58971feba5e209c902e038bcf3e60c1a0342 | |
parent | c2f8c81af02519952a857baebb5c0c9048033009 (diff) | |
download | cpython-c02c6df2c7a7b9fe8bc5de25ed22fa12a7c34c9a.zip cpython-c02c6df2c7a7b9fe8bc5de25ed22fa12a7c34c9a.tar.gz cpython-c02c6df2c7a7b9fe8bc5de25ed22fa12a7c34c9a.tar.bz2 |
Issue #19638: Skip large digit string tests on 32-bit platforms.
-rw-r--r-- | Lib/test/test_strtod.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_strtod.py b/Lib/test/test_strtod.py index faf5b57..c285b0f 100644 --- a/Lib/test/test_strtod.py +++ b/Lib/test/test_strtod.py @@ -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): |