From: R. David Murray Date: Tue, 31 Mar 2009 18:27:51 +0000 (+0000) Subject: Merged revisions 70779 via svnmerge from X-Git-Tag: v3.1a2~127 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a6f2946cd5ac9593413c2546dd00ce0ee66f011e;p=thirdparty%2FPython%2Fcpython.git Merged revisions 70779 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r70779 | r.david.murray | 2009-03-30 19:10:37 -0400 (Mon, 30 Mar 2009) | 3 lines 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 7a67517b3493..bba54fe5ed15 100644 --- a/Lib/test/test_sundry.py +++ b/Lib/test/test_sundry.py @@ -8,6 +8,7 @@ import warnings class TestUntestedModules(unittest.TestCase): def test_at_least_import_untested_modules(self): with warnings.catch_warnings(): + warnings.simplefilter("ignore") import aifc import bdb import cgitb