Author: Manuel Jacob <[email protected]>
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():
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to