Kaydet (Commit) d7bf8a54 authored tarafından R. David Murray's avatar R. David Murray

Actually suppress warnings in test_at_least_import_untested_modules

inside the catch_warnings context manager.
üst e0154ed7
......@@ -9,6 +9,7 @@ import warnings
class TestUntestedModules(unittest.TestCase):
def test_at_least_import_untested_modules(self):
with warnings.catch_warnings():
warnings.simplefilter("ignore")
import CGIHTTPServer
import aifc
import audiodev
......
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