[pypy-commit] pypy py3.3: Adapt test to new function repr (which now contains the qualname).
mjacob
noreply at buildbot.pypy.org
Sat Feb 28 11:06:54 CET 2015
Author: Manuel Jacob <me at manueljacob.de>
Branch: py3.3
Changeset: r76190:4b41587d9970
Date: 2015-02-28 09:48 +0100
http://bitbucket.org/pypy/pypy/changeset/4b41587d9970/
Log: Adapt test to new function repr (which now contains the qualname).
diff --git a/pypy/objspace/std/test/test_proxy_function.py b/pypy/objspace/std/test/test_proxy_function.py
--- a/pypy/objspace/std/test/test_proxy_function.py
+++ b/pypy/objspace/std/test/test_proxy_function.py
@@ -59,7 +59,7 @@
pass
fun = self.get_proxy(f)
- assert repr(fun).startswith("<function f")
+ assert repr(fun).startswith("<function test_function_repr.<locals>.f")
def test_func_code(self):
def f():
More information about the pypy-commit
mailing list