diff options
Diffstat (limited to 'numpy')
| -rw-r--r-- | numpy/core/tests/test_indexing.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/numpy/core/tests/test_indexing.py b/numpy/core/tests/test_indexing.py index 4c3bac529..9259bb9d4 100644 --- a/numpy/core/tests/test_indexing.py +++ b/numpy/core/tests/test_indexing.py @@ -1174,6 +1174,7 @@ class TestBooleanIndexing(object): # Note that operator.index(np.array(True)) does not work, a boolean # array is thus also deprecated, but not with the same message: assert_raises(TypeError, operator.index, np.array(True)) + assert_raises(TypeError, operator.index, np.True_) assert_raises(TypeError, np.take, args=(a, [0], False)) def test_boolean_indexing_weirdness(self): |
