From dd146b6929f79fd6af27528dd4370eaebd5c57a6 Mon Sep 17 00:00:00 2001 From: "Travis E. Oliphant" Date: Thu, 10 Jan 2013 00:26:34 -0600 Subject: Fix the test for numpy.ndindex() --- numpy/lib/tests/test_index_tricks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/lib/tests/test_index_tricks.py') diff --git a/numpy/lib/tests/test_index_tricks.py b/numpy/lib/tests/test_index_tricks.py index 61197af4f..3cb06b4fb 100644 --- a/numpy/lib/tests/test_index_tricks.py +++ b/numpy/lib/tests/test_index_tricks.py @@ -244,7 +244,7 @@ def test_ndindex(): # Make sure size argument is optional x = list(np.ndindex()) - assert_equal(x, [(0,)]) + assert_equal(x, [()]) if __name__ == "__main__": -- cgit v1.2.1