Author: Antonio Cuni <[email protected]>
Branch: py3k
Changeset: r52744:6b61991afc70
Date: 2012-02-21 16:11 +0100
http://bitbucket.org/pypy/pypy/changeset/6b61991afc70/

Log:    s/func_code/__code__

diff --git a/pypy/translator/test/test_geninterp.py 
b/pypy/translator/test/test_geninterp.py
--- a/pypy/translator/test/test_geninterp.py
+++ b/pypy/translator/test/test_geninterp.py
@@ -38,7 +38,7 @@
     snippet_ad = """if 1:
         def import_func():
             import copyreg
-            return copyreg._reconstructor.func_code.co_name
+            return copyreg._reconstructor.__code__.co_name
 
         def import_sys_func():
             import sys
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to