summaryrefslogtreecommitdiffstats
path: root/Lib/test/json_tests
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2011-10-04 08:39:54 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2011-10-04 08:39:54 (GMT)
commit031487eb3b30ea940ce8ee732c0b1e965d3229c0 (patch)
tree41250c59a41484c5885a370e5d189160ce70571f /Lib/test/json_tests
parent1a3ff48c55fcb4dd8151750976242d83a84a09b0 (diff)
downloadcpython-031487eb3b30ea940ce8ee732c0b1e965d3229c0.zip
cpython-031487eb3b30ea940ce8ee732c0b1e965d3229c0.tar.gz
cpython-031487eb3b30ea940ce8ee732c0b1e965d3229c0.tar.bz2
Fix test failure
Diffstat (limited to 'Lib/test/json_tests')
-rw-r--r--Lib/test/json_tests/test_dump.py4
1 files 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