Author: Antonio Cuni <[email protected]>
Branch: py3k
Changeset: r52994:970e29f1f3d3
Date: 2012-02-28 18:24 +0100
http://bitbucket.org/pypy/pypy/changeset/970e29f1f3d3/

Log:    s/func_code/__code__

diff --git a/pypy/module/marshal/test/test_marshal.py 
b/pypy/module/marshal/test/test_marshal.py
--- a/pypy/module/marshal/test/test_marshal.py
+++ b/pypy/module/marshal/test/test_marshal.py
@@ -110,14 +110,14 @@
     def test_func_dot_func_code(self):
         def func(x):
             return lambda y: x+y
-        case = func.func_code
+        case = func.__code__
         self.marshal_check(case)
 
     def test_scopefunc_dot_func_code(self):
         def func(x):
             return lambda y: x+y
         scopefunc = func(42)
-        case = scopefunc.func_code
+        case = scopefunc.__code__
         self.marshal_check(case)
 
     def test_u_quote_hello_quote_(self):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to