[Python-checkins] cpython: Fix test failure

antoine.pitrou python-checkins at python.org
Tue Oct 4 10:43:26 CEST 2011


http://hg.python.org/cpython/rev/c4b6d9312da1
changeset:   72644:c4b6d9312da1
user:        Antoine Pitrou <solipsis at pitrou.net>
date:        Tue Oct 04 10:39:54 2011 +0200
summary:
  Fix test failure

files:
  Lib/test/json_tests/test_dump.py |  4 ++--
  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
--- 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 @@
     # 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

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list