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, 2 insertions, 2 deletions
diff --git a/Lib/test/test_sundry.py b/Lib/test/test_sundry.py
index e71852b..7609385 100644
--- a/Lib/test/test_sundry.py
+++ b/Lib/test/test_sundry.py
@@ -1,10 +1,10 @@
"""Do a minimal test of all the modules that aren't otherwise tested."""
-from test.test_support import guard_warnings_filter
+from test.test_support import catch_warning
import sys
import warnings
-with guard_warnings_filter():
+with catch_warning():
warnings.filterwarnings('ignore', r".*posixfile",
DeprecationWarning)
warnings.filterwarnings('ignore', r".*mimify", DeprecationWarning)