summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_sundry.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_sundry.py')
-rw-r--r--Lib/test/test_sundry.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/Lib/test/test_sundry.py b/Lib/test/test_sundry.py
index ee387c7..365b98b 100644
--- a/Lib/test/test_sundry.py
+++ b/Lib/test/test_sundry.py
@@ -3,12 +3,10 @@
from test import support
import sys
import unittest
-import warnings
class TestUntestedModules(unittest.TestCase):
def test_at_least_import_untested_modules(self):
- with warnings.catch_warnings():
- warnings.simplefilter("ignore")
+ with support.check_warnings(quiet=True):
import bdb
import cgitb
import code