diff options
-rw-r--r-- | Lib/test/test_xmllib.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Lib/test/test_xmllib.py b/Lib/test/test_xmllib.py index 9ea5042094..97ae141101 100644 --- a/Lib/test/test_xmllib.py +++ b/Lib/test/test_xmllib.py @@ -13,11 +13,15 @@ testdoc = """\ <greeting>Hello, world!</greeting> """ +import warnings +warnings.filterwarnings("ignore", ".* xmllib .* obsolete.*", + DeprecationWarning) +del warnings + import test_support import unittest import xmllib - class XMLParserTestCase(unittest.TestCase): def test_simple(self): |