[pypy-commit] pypy default: fix for 32bit
bdkearns
noreply at buildbot.pypy.org
Wed Dec 25 19:01:22 CET 2013
Author: Brian Kearns <bdkearns at gmail.com>
Branch:
Changeset: r68538:3cf09dd9b86e
Date: 2013-12-25 13:00 -0500
http://bitbucket.org/pypy/pypy/changeset/3cf09dd9b86e/
Log: fix for 32bit
diff --git a/pypy/module/micronumpy/test/test_scalar.py b/pypy/module/micronumpy/test/test_scalar.py
--- a/pypy/module/micronumpy/test/test_scalar.py
+++ b/pypy/module/micronumpy/test/test_scalar.py
@@ -118,7 +118,7 @@
def test_bitshift(self):
import numpy as np
assert np.int32(123) >> 1 == 61
- assert type(np.int32(123) >> 1) is np.int64
+ assert type(np.int32(123) >> 1) is np.int_
assert np.int64(123) << 1 == 246
assert type(np.int64(123) << 1) is np.int64
exc = raises(TypeError, "np.uint64(123) >> 1")
More information about the pypy-commit
mailing list