Author: Alex Gaynor <alex.gay...@gmail.com>
Branch: 
Changeset: r51412:593bcb6b2e6f
Date: 2012-01-17 12:25 -0600
http://bitbucket.org/pypy/pypy/changeset/593bcb6b2e6f/

Log:    oops, fix tests

diff --git a/lib_pypy/numpypy/test/test_fromnumeric.py 
b/lib_pypy/numpypy/test/test_fromnumeric.py
--- a/lib_pypy/numpypy/test/test_fromnumeric.py
+++ b/lib_pypy/numpypy/test/test_fromnumeric.py
@@ -122,6 +122,6 @@
         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)
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to