Commits

Brian Kearns committed 55b7a58

loosen this test also

Comments (0)

Files changed (1)

pypy/module/micronumpy/test/test_scalar.py

         assert hex(np.complex64(11-12j)) == '0xb'
         assert bin(np.int32(11)) == '0b1011'
         exc = raises(TypeError, "bin(np.float32(11.6))")
-        assert exc.value.message.find('object cannot be interpreted as an index') != -1
+        assert "index" in exc.value.message
 
     def test_pickle(self):
         from numpypy import dtype, zeros