]> granicus.if.org Git - python/commitdiff
Merged revisions 70779 via svnmerge from
authorR. David Murray <rdmurray@bitdance.com>
Tue, 31 Mar 2009 18:27:51 +0000 (18:27 +0000)
committerR. David Murray <rdmurray@bitdance.com>
Tue, 31 Mar 2009 18:27:51 +0000 (18:27 +0000)
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.
........

Lib/test/test_sundry.py

index 7a67517b3493cb2c6467e8e62cb2e62bfc0ba604..bba54fe5ed153fcb032f330d6d6f62004d14dd14 100644 (file)
@@ -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