diff options
author | Jon Dufresne <jon.dufresne@gmail.com> | 2020-01-04 14:27:58 -0800 |
---|---|---|
committer | Jon Dufresne <jon.dufresne@gmail.com> | 2020-01-05 07:45:28 -0800 |
commit | d6903eccf60dc99db121df877f5d28f275f0bece (patch) | |
tree | 7407539416da75123e5afdb20ec34d6180567380 /numpy/testing | |
parent | c31cc36a8a814ed4844a2a553454185601914a5a (diff) | |
download | numpy-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.py | 3 |
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") |