summaryrefslogtreecommitdiff
path: root/numpy/testing/nosetester.py
diff options
context:
space:
mode:
authorEric Wieser <wieser.eric@gmail.com>2017-02-09 12:51:32 +0000
committerEric Wieser <wieser.eric@gmail.com>2017-02-09 17:09:27 +0000
commit994f8a1dbb137fd4daf881184972637964983ad8 (patch)
tree6db8106c264db8413dc1490f2c4107fa0697c1be /numpy/testing/nosetester.py
parent98b3127fa61e09387e1f7cf925acfcb36043e48a (diff)
downloadnumpy-994f8a1dbb137fd4daf881184972637964983ad8.tar.gz
MAINT: Remove __setslice__ and __getslice__
This code was only here for Python 2.5 compatibility, but numpy requires 2.7 at minimum
Diffstat (limited to 'numpy/testing/nosetester.py')
-rw-r--r--numpy/testing/nosetester.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/numpy/testing/nosetester.py b/numpy/testing/nosetester.py
index 3d9616ed8..da5d112f5 100644
--- a/numpy/testing/nosetester.py
+++ b/numpy/testing/nosetester.py
@@ -420,8 +420,6 @@ class NoseTester(object):
sup.filter(DeprecationWarning,
r"sys\.exc_clear\(\) not supported in 3\.x",
module=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")