[pypy-commit] pypy numpy-fixes: fix the hack to fix tests

mattip noreply at buildbot.pypy.org
Fri May 8 17:19:32 CEST 2015


Author: mattip <matti.picus at gmail.com>
Branch: numpy-fixes
Changeset: r77220:a8c81a72dd3b
Date: 2015-05-08 18:19 +0300
http://bitbucket.org/pypy/pypy/changeset/a8c81a72dd3b/

Log:	fix the hack to fix tests

diff --git a/pypy/module/micronumpy/compile.py b/pypy/module/micronumpy/compile.py
--- a/pypy/module/micronumpy/compile.py
+++ b/pypy/module/micronumpy/compile.py
@@ -241,8 +241,7 @@
 
     def call_method(self, w_obj, s, *args):
         # XXX even the hacks have hacks
-        return None
-        #return getattr(w_obj, 'descr_' + s)(self, *args)
+        return getattr(w_obj, 'descr_' + s)(self, *args)
 
     @specialize.arg(1)
     def interp_w(self, tp, what):


More information about the pypy-commit mailing list