Commit f4fd0bf7 authored by Benjamin Peterson's avatar Benjamin Peterson

keep DeprecationWarning from failing test

parent a70f3496
......@@ -247,7 +247,7 @@ class ImportHooksTestCase(ImportHooksBaseTestCase):
for n in sys.modules.keys():
if n.startswith(parent):
del sys.modules[n]
with test_support.check_py3k_warnings():
with test_support.check_py3k_warnings(), test_support.check_warnings():
for mname in mnames:
m = __import__(mname, globals(), locals(), ["__dummy__"])
m.__loader__ # to make sure we actually handled the import
......
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