summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorR. David Murray <rdmurray@bitdance.com>2009-03-30 23:10:37 (GMT)
committerR. David Murray <rdmurray@bitdance.com>2009-03-30 23:10:37 (GMT)
commitd7bf8a54787d0c3520a0788224537acab2491b38 (patch)
tree3e1bc96eeb646986763cc393a68de30d7c092664 /Lib
parente0154ed7ff9cf476d93cc20b49b69ca5d39cf41b (diff)
downloadcpython-d7bf8a54787d0c3520a0788224537acab2491b38.zip
cpython-d7bf8a54787d0c3520a0788224537acab2491b38.tar.gz
cpython-d7bf8a54787d0c3520a0788224537acab2491b38.tar.bz2
Actually suppress warnings in test_at_least_import_untested_modules
inside the catch_warnings context manager.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_sundry.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_sundry.py b/Lib/test/test_sundry.py
index 74d0436..48cbcd6 100644
--- a/Lib/test/test_sundry.py
+++ b/Lib/test/test_sundry.py
@@ -9,6 +9,7 @@ import warnings
class TestUntestedModules(unittest.TestCase):
def test_at_least_import_untested_modules(self):
with warnings.catch_warnings():
+ warnings.simplefilter("ignore")
import CGIHTTPServer
import aifc
import audiodev