summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_index_tricks.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/lib/tests/test_index_tricks.py')
-rw-r--r--numpy/lib/tests/test_index_tricks.py2
1 files changed, 1 insertions, 1 deletions
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__":