[pypy-commit] pypy default: for 32bit also
bdkearns
noreply at buildbot.pypy.org
Thu Dec 19 23:25:31 CET 2013
Author: Brian Kearns <bdkearns at gmail.com>
Branch:
Changeset: r68496:808bd00c35ee
Date: 2013-12-19 17:24 -0500
http://bitbucket.org/pypy/pypy/changeset/808bd00c35ee/
Log: for 32bit also
diff --git a/pypy/module/micronumpy/test/test_dtypes.py b/pypy/module/micronumpy/test/test_dtypes.py
--- a/pypy/module/micronumpy/test/test_dtypes.py
+++ b/pypy/module/micronumpy/test/test_dtypes.py
@@ -33,10 +33,11 @@
assert typeinfo['CFLOAT'] == ('F', 14, 64, 8, np.complex64)
assert typeinfo['CDOUBLE'] == ('D', 15, 128, 16, np.complex128)
assert typeinfo['HALF'] == ('e', 23, 16, 2, np.float16)
- assert typeinfo['INTP'] == ('p', 7, 64, 8,
+ assert typeinfo['INTP'] == ('p', np.dtype('int').num,
+ self.ptr_size*8, self.ptr_size,
2**(self.ptr_size*8 - 1) - 1,
-2**(self.ptr_size*8 - 1),
- np.int64)
+ np.dtype('int').type)
def test_dtype_basic(self):
from numpypy import dtype
More information about the pypy-commit
mailing list