mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
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:
parent
9dbc6706b0
commit
a6f2946cd5
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue