summaryrefslogtreecommitdiff
path: root/numpy/testing
diff options
context:
space:
mode:
authorSeth Troisi <sethtroisi@google.com>2020-01-07 02:44:45 -0800
committerEric Wieser <wieser.eric@gmail.com>2020-01-07 10:44:45 +0000
commitebd2def8783aedf4417135c09246b7cc26136f69 (patch)
tree8502e5d6985115fa397f72e026558064c79a9abc /numpy/testing
parent6f26c12cf0377b926f43f827bd1291a941875751 (diff)
downloadnumpy-ebd2def8783aedf4417135c09246b7cc26136f69.tar.gz
MAINT: Remove python2 array_getslice and array_setslice (#15263)
These implemented the __getslice__ and __setslice__ methods in Python 2, which no longer exist in Python 3.
Diffstat (limited to 'numpy/testing')
-rw-r--r--numpy/testing/_private/nosetester.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/numpy/testing/_private/nosetester.py b/numpy/testing/_private/nosetester.py
index 73f5b3d35..4ca5267ce 100644
--- a/numpy/testing/_private/nosetester.py
+++ b/numpy/testing/_private/nosetester.py
@@ -454,8 +454,6 @@ class NoseTester:
# This is very specific, so using the fragile module filter
# is fine
import threading
- sup.filter(DeprecationWarning, message=r"in 3\.x, __setslice__")
- sup.filter(DeprecationWarning, message=r"in 3\.x, __getslice__")
sup.filter(DeprecationWarning, message=r"buffer\(\) not supported in 3\.x")
sup.filter(DeprecationWarning, message=r"CObject type is not supported in 3\.x")
sup.filter(DeprecationWarning, message=r"comparing unequal types not supported in 3\.x")