diff options
author | Tim Peters <tim.peters@gmail.com> | 2002-04-15 23:52:04 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2002-04-15 23:52:04 (GMT) |
commit | f022a4d451d1d91d3462a7508b0bda8ef3d7ff24 (patch) | |
tree | 61d760a09dabd3a6616e32b958aeda855b9450c3 /Lib/test/test_xmllib.py | |
parent | c15acef4a4ba251f4c4fff38665ebd1c2c81e5f2 (diff) | |
download | cpython-f022a4d451d1d91d3462a7508b0bda8ef3d7ff24.zip cpython-f022a4d451d1d91d3462a7508b0bda8ef3d7ff24.tar.gz cpython-f022a4d451d1d91d3462a7508b0bda8ef3d7ff24.tar.bz2 |
Reduce the number of test-suite DeprecationWarnings; start adding
resetwarnings() calls too.
Diffstat (limited to 'Lib/test/test_xmllib.py')
-rw-r--r-- | Lib/test/test_xmllib.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_xmllib.py b/Lib/test/test_xmllib.py index 97ae141..6756b64 100644 --- a/Lib/test/test_xmllib.py +++ b/Lib/test/test_xmllib.py @@ -16,7 +16,6 @@ testdoc = """\ import warnings warnings.filterwarnings("ignore", ".* xmllib .* obsolete.*", DeprecationWarning) -del warnings import test_support import unittest @@ -33,6 +32,7 @@ class XMLParserTestCase(unittest.TestCase): def test_main(): test_support.run_unittest(XMLParserTestCase) + warnings.resetwarnings() if __name__ == "__main__": |