From 031487eb3b30ea940ce8ee732c0b1e965d3229c0 Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Tue, 4 Oct 2011 10:39:54 +0200 Subject: Fix test failure --- Lib/test/json_tests/test_dump.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/test/json_tests/test_dump.py b/Lib/test/json_tests/test_dump.py index f1c1b04..4b3386f 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 -- cgit v0.12