Commits

Alex Gaynor committed 593bcb6

oops, fix tests

  • Participants
  • Parent commits 8dea12b

Comments (0)

Files changed (1)

File lib_pypy/numpypy/test/test_fromnumeric.py

         b = reshape(a, (3, 4))
         assert b.shape == (3, 4)
         a = array(range(105)).reshape(3, 5, 7)
-        assert reshape(a, 1, -1).shape == (1, 105)
-        assert reshape(a, 1, 1, -1).shape == (1, 1, 105)
-        assert reshape(a, -1, 1, 1).shape == (105, 1, 1)
+        assert reshape(a, (1, -1)).shape == (1, 105)
+        assert reshape(a, (1, 1, -1)).shape == (1, 1, 105)
+        assert reshape(a, (-1, 1, 1)).shape == (105, 1, 1)