Author: Antonio Cuni <[email protected]>
Branch: py3k
Changeset: r52735:e2538e50a9a4
Date: 2012-02-21 15:10 +0100
http://bitbucket.org/pypy/pypy/changeset/e2538e50a9a4/

Log:    s/func_code/__code__

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
@@ -68,7 +68,7 @@
             pass
         
         fun = self.get_proxy(f)
-        assert fun.func_code is f.func_code
+        assert fun.__code__ is f.__code__
 
     def test_funct_prop_setter_del(self):
         def f():
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to