Commits

Brian Kearns committed 1980907

test this too

  • Participants
  • Parent commits 3fca57d

Comments (0)

Files changed (1)

pypy/module/micronumpy/test/test_numarray.py

         assert array([]).sum() == 0.0
         assert array([]).reshape(0, 2).sum() == 0.
         assert (array([]).reshape(0, 2).sum(0) == [0., 0.]).all()
+        assert (array([]).reshape(0, 2).prod(0) == [1., 1.]).all()
         raises(ValueError, 'array([]).max()')
         assert (a.sum(0) == [30, 35, 40]).all()
         assert (a.sum(axis=0) == [30, 35, 40]).all()