[pypy-commit] pypy default: fix this test on 32bit
bdkearns
noreply at buildbot.pypy.org
Sat Oct 11 03:29:34 CEST 2014
Author: Brian Kearns <bdkearns at gmail.com>
Branch:
Changeset: r73900:25e3b114c5ab
Date: 2014-10-10 21:29 -0400
http://bitbucket.org/pypy/pypy/changeset/25e3b114c5ab/
Log: fix this test on 32bit
diff --git a/pypy/module/micronumpy/test/test_arrayops.py b/pypy/module/micronumpy/test/test_arrayops.py
--- a/pypy/module/micronumpy/test/test_arrayops.py
+++ b/pypy/module/micronumpy/test/test_arrayops.py
@@ -211,7 +211,7 @@
assert np.result_type(1.) is np.dtype('float64')
assert np.result_type(1+2j) is np.dtype('complex128')
assert np.result_type(1, 1.) is np.dtype('float64')
- assert np.result_type(np.array([1, 2])) is np.dtype('int64')
+ assert np.result_type(np.array([1, 2])) is np.dtype('int')
assert np.result_type(np.array([1, 2]), 1, 1+2j) is np.dtype('complex128')
assert np.result_type(np.array([1, 2]), 1, 'float64') is np.dtype('float64')
assert np.result_type(np.array([1, 2]), 1, None) is np.dtype('float64')
More information about the pypy-commit
mailing list