Mercurial > cpython-lru_cache-weakref
changeset 87585:4c523ea2b429 2.7
Issue #19638: Skip large digit string tests on 32-bit platforms.
| author | Mark Dickinson <dickinsm@gmail.com> |
|---|---|
| date | Tue, 26 Nov 2013 17:02:46 +0000 |
| parents | 6d6a018a3bb0 |
| children | 461a4d10753a |
| files | Lib/test/test_strtod.py |
| diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/Lib/test/test_strtod.py Tue Nov 26 16:38:25 2013 +0000 +++ b/Lib/test/test_strtod.py Tue Nov 26 17:02:46 2013 +0000 @@ -251,6 +251,9 @@ @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):
