diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2013-11-26 19:00:34 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2013-11-26 19:00:34 (GMT) |
commit | 60e361fe4209a418f1ba325fe69a9bdae1a5b831 (patch) | |
tree | 7504be8427a72cd83682451a4d899d5e15e8a33d | |
parent | c02c6df2c7a7b9fe8bc5de25ed22fa12a7c34c9a (diff) | |
download | cpython-60e361fe4209a418f1ba325fe69a9bdae1a5b831.zip cpython-60e361fe4209a418f1ba325fe69a9bdae1a5b831.tar.gz cpython-60e361fe4209a418f1ba325fe69a9bdae1a5b831.tar.bz2 |
Fix misuse of the bigmemtest decorator
-rw-r--r-- | Lib/test/test_strtod.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Lib/test/test_strtod.py b/Lib/test/test_strtod.py index c285b0f..8cc2377 100644 --- a/Lib/test/test_strtod.py +++ b/Lib/test/test_strtod.py @@ -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): |