Commits

Michael Blume committed c07d96f

make this test less boring

Comments (0)

Files changed (1)

pypy/module/micronumpy/test/test_numarray.py

     def test_floordiv_constant(self):
         from _numpypy import array
         a = array(range(5))
-        b = a // 5
-        assert (b == [0, 0, 0, 0, 0]).all()
+        b = a // 2
+        assert (b == [0, 0, 1, 1, 2]).all()
 
     def test_truediv(self):
         from operator import truediv