mirror of
https://github.com/python/cpython.git
synced 2025-11-25 12:44:13 +00:00
Actually suppress warnings in test_at_least_import_untested_modules
inside the catch_warnings context manager.
This commit is contained in:
parent
e0154ed7ff
commit
d7bf8a5478
1 changed files with 1 additions and 0 deletions
|
|
@ -9,6 +9,7 @@ import warnings
|
||||||
class TestUntestedModules(unittest.TestCase):
|
class TestUntestedModules(unittest.TestCase):
|
||||||
def test_at_least_import_untested_modules(self):
|
def test_at_least_import_untested_modules(self):
|
||||||
with warnings.catch_warnings():
|
with warnings.catch_warnings():
|
||||||
|
warnings.simplefilter("ignore")
|
||||||
import CGIHTTPServer
|
import CGIHTTPServer
|
||||||
import aifc
|
import aifc
|
||||||
import audiodev
|
import audiodev
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue