summaryrefslogtreecommitdiff
path: root/numpy/_pytesttester.py
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/_pytesttester.py
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/_pytesttester.py')
-rw-r--r--numpy/_pytesttester.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/numpy/_pytesttester.py b/numpy/_pytesttester.py
index 56eb3ac67..8b6e3217e 100644
--- a/numpy/_pytesttester.py
+++ b/numpy/_pytesttester.py
@@ -164,8 +164,6 @@ class PytestTester:
# Ignore python2.7 -3 warnings
pytest_args += [
- r"-W ignore:in 3\.x, __setslice__:DeprecationWarning",
- r"-W ignore:in 3\.x, __getslice__:DeprecationWarning",
r"-W ignore:buffer\(\) not supported in 3\.x:DeprecationWarning",
r"-W ignore:CObject type is not supported in 3\.x:DeprecationWarning",
r"-W ignore:comparing unequal types not supported in 3\.x:DeprecationWarning",