[pypy-commit] pypy default: Test fix for test_xpickle

arigo noreply at buildbot.pypy.org
Sat Aug 30 08:44:32 CEST 2014


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r73199:aba3692914d3
Date: 2014-08-30 06:44 +0000
http://bitbucket.org/pypy/pypy/changeset/aba3692914d3/

Log:	Test fix for test_xpickle

diff --git a/lib-python/2.7/test/pickletester.py b/lib-python/2.7/test/pickletester.py
--- a/lib-python/2.7/test/pickletester.py
+++ b/lib-python/2.7/test/pickletester.py
@@ -6,14 +6,16 @@
 import pickletools
 import copy_reg
 
-from test.test_support import TestFailed, verbose, have_unicode, TESTFN, impl_detail
+from test.test_support import TestFailed, verbose, have_unicode, TESTFN
 try:
-    from test.test_support import _2G, _1M, precisionbigmemtest
+    from test.test_support import _2G, _1M, precisionbigmemtest, impl_detail
 except ImportError:
     # this import might fail when run on older Python versions by test_xpickle
     _2G = _1M = 0
     def precisionbigmemtest(*args, **kwargs):
         return lambda self: None
+    def impl_detail(*args, **kwargs):
+        return lambda self: None
 
 # Tests that try a number of pickle protocols should have a
 #     for proto in protocols:


More information about the pypy-commit mailing list