diff options
author | Brett Cannon <brett@python.org> | 2015-10-30 21:41:06 (GMT) |
---|---|---|
committer | Brett Cannon <brett@python.org> | 2015-10-30 21:41:06 (GMT) |
commit | 213b4056a64a670587419c8a15a724faeb789221 (patch) | |
tree | bef9c3f645c5c40644ac9baa169b8544b066ea6d /Lib/test/test_imp.py | |
parent | c6d17c04bc94c690e9636cd6eb9b7a16f0496836 (diff) | |
download | cpython-213b4056a64a670587419c8a15a724faeb789221.zip cpython-213b4056a64a670587419c8a15a724faeb789221.tar.gz cpython-213b4056a64a670587419c8a15a724faeb789221.tar.bz2 |
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/test/test_imp.py')
-rw-r--r-- | Lib/test/test_imp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_imp.py b/Lib/test/test_imp.py index ee9ee1a..efb0384 100644 --- a/Lib/test/test_imp.py +++ b/Lib/test/test_imp.py @@ -12,7 +12,7 @@ from test import support import unittest import warnings with warnings.catch_warnings(): - warnings.simplefilter('ignore', PendingDeprecationWarning) + warnings.simplefilter('ignore', DeprecationWarning) import imp |