diff options
author | Tim Peters <tim.peters@gmail.com> | 2002-04-16 00:01:09 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2002-04-16 00:01:09 (GMT) |
commit | 7d79948103ebe6922144ef81919c8b12c434cbb8 (patch) | |
tree | 916e43df4a0e702d2dd14f9e81932b6e6df43a9f /Lib/test/test_xmllib.py | |
parent | a91a02a76d35bedb5eb9ed2b06c43c0250a872c8 (diff) | |
download | cpython-7d79948103ebe6922144ef81919c8b12c434cbb8.zip cpython-7d79948103ebe6922144ef81919c8b12c434cbb8.tar.gz cpython-7d79948103ebe6922144ef81919c8b12c434cbb8.tar.bz2 |
It makes more sense to call resetwarnings() after every test runs than
to keep doing that in every test that wants to filter a warning.
Diffstat (limited to 'Lib/test/test_xmllib.py')
-rw-r--r-- | Lib/test/test_xmllib.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/test/test_xmllib.py b/Lib/test/test_xmllib.py index 6756b64..1284a2c 100644 --- a/Lib/test/test_xmllib.py +++ b/Lib/test/test_xmllib.py @@ -32,8 +32,6 @@ class XMLParserTestCase(unittest.TestCase): def test_main(): test_support.run_unittest(XMLParserTestCase) - warnings.resetwarnings() - if __name__ == "__main__": test_main() |