From: Antoine Pitrou Date: Tue, 4 Oct 2011 08:39:54 +0000 (+0200) Subject: Fix test failure X-Git-Tag: v3.3.0a1~1343 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=031487eb3b30ea940ce8ee732c0b1e965d3229c0;p=thirdparty%2FPython%2Fcpython.git Fix test failure --- diff --git a/Lib/test/json_tests/test_dump.py b/Lib/test/json_tests/test_dump.py index f1c1b0478ea9..4b3386f4f82f 100644 --- a/Lib/test/json_tests/test_dump.py +++ b/Lib/test/json_tests/test_dump.py @@ -1,7 +1,7 @@ from io import StringIO from test.json_tests import PyTest, CTest -from test.support import precisionbigmemtest, _1G +from test.support import bigmemtest, _1G class TestDump: def test_dump(self): @@ -30,7 +30,7 @@ class TestCDump(TestDump, CTest): # system memory management, since this may allocate a lot of # small objects). - @precisionbigmemtest(size=_1G, memuse=1) + @bigmemtest(size=_1G, memuse=1) def test_large_list(self, size): N = int(30 * 1024 * 1024 * (size / _1G)) l = [1] * N