From: R. David Murray Date: Mon, 30 Mar 2009 23:10:37 +0000 (+0000) Subject: Actually suppress warnings in test_at_least_import_untested_modules X-Git-Tag: v2.7a1~1720 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d7bf8a54787d0c3520a0788224537acab2491b38;p=python Actually suppress warnings in test_at_least_import_untested_modules inside the catch_warnings context manager. --- diff --git a/Lib/test/test_sundry.py b/Lib/test/test_sundry.py index 74d043625b..48cbcd60f8 100644 --- a/Lib/test/test_sundry.py +++ b/Lib/test/test_sundry.py @@ -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