summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
Diffstat (limited to 'numpy')
-rw-r--r--numpy/core/tests/test_deprecations.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/core/tests/test_deprecations.py b/numpy/core/tests/test_deprecations.py
index 8948291a3..3ad264583 100644
--- a/numpy/core/tests/test_deprecations.py
+++ b/numpy/core/tests/test_deprecations.py
@@ -126,7 +126,7 @@ class TestFloatNonIntegerArgumentDeprecation(_DeprecationTestCase):
in PyArray_PyIntAsIntp and possibly PyArray_IntpConverter.
In iterators.c the function slice_GetIndices could be removed in favor
of its python equivalent and in mapping.c the function _tuple_of_integers
- can be simplified (iff ``np.array([1]).__index__()`` is also deprecated).
+ can be simplified (if ``np.array([1]).__index__()`` is also deprecated).
As for the deprecation time-frame: via Ralf Gommers,
@@ -287,4 +287,4 @@ class TestArrayToIndexDeprecation(_DeprecationTestCase):
if __name__ == "__main__":
- run_module_suite() \ No newline at end of file
+ run_module_suite()