[pypy-commit] pypy numpy-multidim-shards: clean up tests since broadcast, iterator changes broke them

mattip noreply at buildbot.pypy.org
Sun Nov 20 00:37:45 CET 2011


Author: mattip
Branch: numpy-multidim-shards
Changeset: r49561:47f179be6866
Date: 2011-11-20 01:36 +0200
http://bitbucket.org/pypy/pypy/changeset/47f179be6866/

Log:	clean up tests since broadcast, iterator changes broke them

diff --git a/pypy/module/micronumpy/interp_ufuncs.py b/pypy/module/micronumpy/interp_ufuncs.py
--- a/pypy/module/micronumpy/interp_ufuncs.py
+++ b/pypy/module/micronumpy/interp_ufuncs.py
@@ -82,7 +82,7 @@
                                           value=value, obj=obj, i=i,
                                           dtype=dtype)
             value = self.func(dtype, value, obj.eval(i).convert_to(dtype))
-            i = i.next()
+            i.next()
         return value
 
 class W_Ufunc1(W_Ufunc):


More information about the pypy-commit mailing list