Skip to content

Commit

Permalink
Fix the test for numpy.ndindex()
Browse files Browse the repository at this point in the history
  • Loading branch information
teoliphant committed Jan 10, 2013
1 parent 4716137 commit dd146b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion numpy/lib/tests/test_index_tricks.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__":
Expand Down

0 comments on commit dd146b6

Please sign in to comment.