1. Pypy
  2. Untitled project
  3. pypy

Commits

Alex Gaynor  committed 593bcb6

oops, fix tests

  • Participants
  • Parent commits 8dea12b
  • Branches default

Comments (0)

Files changed (1)

File lib_pypy/numpypy/test/test_fromnumeric.py

View file
         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)