[pypy-commit] pypy py3k: Fix interp_level helper functions in AppTest

amauryfa noreply at buildbot.pypy.org
Tue Oct 18 00:38:01 CEST 2011


Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
Branch: py3k
Changeset: r48170:d3b60f18ce64
Date: 2011-10-17 23:34 +0200
http://bitbucket.org/pypy/pypy/changeset/d3b60f18ce64/

Log:	Fix interp_level helper functions in AppTest

diff --git a/pypy/conftest.py b/pypy/conftest.py
--- a/pypy/conftest.py
+++ b/pypy/conftest.py
@@ -460,7 +460,7 @@
                             %s
                             return %s
                         """) % (source, name))
-                        w_obj = Method(space, w_func, w_instance, space.w_None)
+                        w_obj = Method(space, w_func, w_instance)
                     else:
                         w_obj = obj
                     space.setattr(w_instance, space.wrap(name[2:]), w_obj)


More information about the pypy-commit mailing list