[pypy-commit] pypy py3k: s/func_code/__code__

antocuni noreply at buildbot.pypy.org
Tue Feb 21 16:07:39 CET 2012


Author: Antonio Cuni <anto.cuni at gmail.com>
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():


More information about the pypy-commit mailing list