summaryrefslogtreecommitdiff
path: root/Lib/modulefinder.py
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2015-10-30 14:41:06 -0700
committerBrett Cannon <brett@python.org>2015-10-30 14:41:06 -0700
commitaaaba68ae029727fdad6318ac242c3bbadc12b68 (patch)
treefa593e6186ba199f58de96acba5a0113339fdf1a /Lib/modulefinder.py
parent1ac414aaaaac00758f51101108bcedeb0b6b2676 (diff)
downloadcpython-aaaba68ae029727fdad6318ac242c3bbadc12b68.tar.gz
Issue #25487: Fix tests not updated when the imp module moved to a
DeprecationWarning. Thanks to Martin Panter for finding the tests.
Diffstat (limited to 'Lib/modulefinder.py')
-rw-r--r--Lib/modulefinder.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/modulefinder.py b/Lib/modulefinder.py
index 50f2462da0..4a2f1b5491 100644
--- a/Lib/modulefinder.py
+++ b/Lib/modulefinder.py
@@ -10,7 +10,7 @@ import types
import struct
import warnings
with warnings.catch_warnings():
- warnings.simplefilter('ignore', PendingDeprecationWarning)
+ warnings.simplefilter('ignore', DeprecationWarning)
import imp
# XXX Clean up once str8's cstor matches bytes.