]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix test failure
authorAntoine Pitrou <solipsis@pitrou.net>
Tue, 4 Oct 2011 08:39:54 +0000 (10:39 +0200)
committerAntoine Pitrou <solipsis@pitrou.net>
Tue, 4 Oct 2011 08:39:54 +0000 (10:39 +0200)
Lib/test/json_tests/test_dump.py

index f1c1b0478ea931d9c25ef8fcf5394780b1e63b09..4b3386f4f82fca51d40f235d1112fe0840ca389a 100644 (file)
@@ -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