Commit 213b4056 authored by Brett Cannon's avatar Brett Cannon

Issue #25487: Fix tests not updated when the imp module moved to a

DeprecationWarning.

Thanks to Martin Panter for finding the tests.
parent c6d17c04
......@@ -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.
......
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment