commit | d7bf8a54787d0c3520a0788224537acab2491b38 | [log] [tgz] |
---|---|---|
author | R. David Murray <rdmurray@bitdance.com> | Mon Mar 30 23:10:37 2009 +0000 |
committer | R. David Murray <rdmurray@bitdance.com> | Mon Mar 30 23:10:37 2009 +0000 |
tree | 3e1bc96eeb646986763cc393a68de30d7c092664 | |
parent | e0154ed7ff9cf476d93cc20b49b69ca5d39cf41b [diff] [blame] |
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 74d0436..48cbcd6 100644 --- a/Lib/test/test_sundry.py +++ b/Lib/test/test_sundry.py
@@ -9,6 +9,7 @@ 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