Commit 5399dc77 authored by Antoine Pitrou's avatar Antoine Pitrou

Fix test failure

parent b3984c7d
from io import StringIO from io import StringIO
from test.json_tests import PyTest, CTest from test.json_tests import PyTest, CTest
from test.support import precisionbigmemtest, _1G from test.support import bigmemtest, _1G
class TestDump: class TestDump:
def test_dump(self): def test_dump(self):
...@@ -30,7 +30,7 @@ class TestCDump(TestDump, CTest): ...@@ -30,7 +30,7 @@ class TestCDump(TestDump, CTest):
# system memory management, since this may allocate a lot of # system memory management, since this may allocate a lot of
# small objects). # small objects).
@precisionbigmemtest(size=_1G, memuse=1) @bigmemtest(size=_1G, memuse=1)
def test_large_list(self, size): def test_large_list(self, size):
N = int(30 * 1024 * 1024 * (size / _1G)) N = int(30 * 1024 * 1024 * (size / _1G))
l = [1] * N l = [1] * N
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment