[pypy-commit] pypy unsigned-dtypes: set mod test back to using mod. Still fails, but we can translate on 64-bit right now.

justinpeel noreply at buildbot.pypy.org
Thu Sep 8 23:02:51 CEST 2011


Author: Justin Peel <notmuchtotell at gmail.com>
Branch: unsigned-dtypes
Changeset: r47171:98070aa15afd
Date: 2011-09-08 15:02 -0600
http://bitbucket.org/pypy/pypy/changeset/98070aa15afd/

Log:	set mod test back to using mod. Still fails, but we can translate on
	64-bit right now.

diff --git a/pypy/module/micronumpy/test/test_zjit.py b/pypy/module/micronumpy/test/test_zjit.py
--- a/pypy/module/micronumpy/test/test_zjit.py
+++ b/pypy/module/micronumpy/test/test_zjit.py
@@ -319,7 +319,7 @@
             while i < n:
                 ar.get_concrete().setitem(i, uint64_dtype.box(7))
                 i += 1
-            v = ar.descr_add(space, ar).descr_sum(space)
+            v = ar.descr_mod(space, ar).descr_sum(space)
             assert isinstance(v, IntObject)
             return v.intval
 


More information about the pypy-commit mailing list