summaryrefslogtreecommitdiff
path: root/numpy/_pytesttester.py
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2020-01-04 14:27:58 -0800
committerJon Dufresne <jon.dufresne@gmail.com>2020-01-05 07:45:28 -0800
commitd6903eccf60dc99db121df877f5d28f275f0bece (patch)
tree7407539416da75123e5afdb20ec34d6180567380 /numpy/_pytesttester.py
parentc31cc36a8a814ed4844a2a553454185601914a5a (diff)
downloadnumpy-d6903eccf60dc99db121df877f5d28f275f0bece.tar.gz
MAINT: Remove references to non-existent sys.exc_clear()
sys.exc_clear() was removed in Python 3. All internal uses can be removed.
Diffstat (limited to 'numpy/_pytesttester.py')
-rw-r--r--numpy/_pytesttester.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/numpy/_pytesttester.py b/numpy/_pytesttester.py
index cbe0779da..56eb3ac67 100644
--- a/numpy/_pytesttester.py
+++ b/numpy/_pytesttester.py
@@ -164,7 +164,6 @@ class PytestTester:
# Ignore python2.7 -3 warnings
pytest_args += [
- r"-W ignore:sys\.exc_clear\(\) not supported in 3\.x:DeprecationWarning",
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",