summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_index_tricks.py
diff options
context:
space:
mode:
authorTravis E. Oliphant <teoliphant@gmail.com>2013-01-10 00:26:34 -0600
committerTravis E. Oliphant <teoliphant@gmail.com>2013-01-10 00:26:34 -0600
commitdd146b6929f79fd6af27528dd4370eaebd5c57a6 (patch)
tree800fde2b04adf5694f46e46bc4b7a02fe9396195 /numpy/lib/tests/test_index_tricks.py
parent47161378d8e4eb892846f7b0156fa2344fd11ee2 (diff)
downloadnumpy-dd146b6929f79fd6af27528dd4370eaebd5c57a6.tar.gz
Fix the test for numpy.ndindex()
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__":