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.
........
This commit is contained in:
R. David Murray 2009-03-31 18:27:51 +00:00
parent 9dbc6706b0
commit a6f2946cd5

View 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