Author: Philip Jenvey <[email protected]>
Branch: py3k
Changeset: r61433:b7ec66cb08a1
Date: 2013-02-18 17:45 -0800
http://bitbucket.org/pypy/pypy/changeset/b7ec66cb08a1/

Log:    fix test_lib_pypy

diff --git a/lib_pypy/_functools.py b/lib_pypy/_functools.py
--- a/lib_pypy/_functools.py
+++ b/lib_pypy/_functools.py
@@ -1,5 +1,6 @@
 """ Supplies the internal functions for functools.py in the standard library 
"""
-from __pypy__ import builtinify
+try: from __pypy__ import builtinify
+except ImportError: builtinify = lambda f: f
 
 
 sentinel = object()
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to