From ebd2def8783aedf4417135c09246b7cc26136f69 Mon Sep 17 00:00:00 2001 From: Seth Troisi Date: Tue, 7 Jan 2020 02:44:45 -0800 Subject: 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. --- numpy/_pytesttester.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'numpy/_pytesttester.py') 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", -- cgit v1.2.1