Commit 28831ea4 authored by Tim Peters's avatar Tim Peters

Since xmllib is deprecated now, suppress the DeprecationWarning its test

module necessarily raises.
parent c6407f61
......@@ -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):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment