Commits

Brian Kearns committed 3cf09dd

fix for 32bit

  • Participants
  • Parent commits 9c94d56

Comments (0)

Files changed (1)

File pypy/module/micronumpy/test/test_scalar.py

     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")