summaryrefslogtreecommitdiff
path: root/numpy/testing
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/testing
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/testing')
-rw-r--r--numpy/testing/_private/nosetester.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/numpy/testing/_private/nosetester.py b/numpy/testing/_private/nosetester.py
index a874321cc..73f5b3d35 100644
--- a/numpy/testing/_private/nosetester.py
+++ b/numpy/testing/_private/nosetester.py
@@ -454,9 +454,6 @@ class NoseTester:
# This is very specific, so using the fragile module filter
# is fine
import threading
- 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")