[pypy-commit] pypy default: oops, fix tests
alex_gaynor
noreply at buildbot.pypy.org
Tue Jan 17 19:25:39 CET 2012
Author: Alex Gaynor <alex.gaynor at 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)
More information about the pypy-commit
mailing list