Commits

Alex Gaynor committed 637b4cf

A failing test for flatten

  • Participants
  • Parent commits 6eb004a

Comments (0)

Files changed (1)

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

         assert ((a + a).flatten() == [2, 4, 6]).all()
         a = array(2)
         assert (a.flatten() == [2]).all()
+        a = array([[1, 2], [3, 4]])
+        assert (a.T.flatten() == [1, 3, 2, 4]).all()
 
 
 class AppTestMultiDim(BaseNumpyAppTest):