summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_function_base.py
diff options
context:
space:
mode:
authorRalf Gommers <ralf.gommers@googlemail.com>2012-02-05 15:57:00 +0100
committerRalf Gommers <ralf.gommers@googlemail.com>2012-02-05 15:57:00 +0100
commitd48b756b232c99b6624d76db3188090052e0db60 (patch)
tree6f21009ca272ac76a5a0f651f17c91eec14075a4 /numpy/lib/tests/test_function_base.py
parent3fb541ef51ca60cf5a903ed83f69120fe3f5373a (diff)
downloadnumpy-d48b756b232c99b6624d76db3188090052e0db60.tar.gz
STY: meshgrid: some minor changes to address review comments.
Diffstat (limited to 'numpy/lib/tests/test_function_base.py')
-rw-r--r--numpy/lib/tests/test_function_base.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/numpy/lib/tests/test_function_base.py b/numpy/lib/tests/test_function_base.py
index 57bfee61b..b38b39c94 100644
--- a/numpy/lib/tests/test_function_base.py
+++ b/numpy/lib/tests/test_function_base.py
@@ -1052,10 +1052,7 @@ class TestMeshgrid(TestCase):
def test_sparse(self):
[X, Y] = meshgrid([1, 2, 3], [4, 5, 6, 7], sparse=True)
assert_(all(X == array([[1, 2, 3]])))
- assert_(all(Y == array([[4],
- [5],
- [6],
- [7]])))
+ assert_(all(Y == array([[4], [5], [6], [7]])))
class TestPiecewise(TestCase):