diff options
author | Benjamin Peterson <benjamin@python.org> | 2009-07-01 01:39:51 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2009-07-01 01:39:51 (GMT) |
commit | c8c0d78d09cfeda229faaf74e7d13c01033c034d (patch) | |
tree | 3b1d33d77ec2a357d6d55e449046726af0f0fcc0 | |
parent | 04e40c1b485eda590efe0ad4c6b1733a97836ae3 (diff) | |
download | cpython-c8c0d78d09cfeda229faaf74e7d13c01033c034d.zip cpython-c8c0d78d09cfeda229faaf74e7d13c01033c034d.tar.gz cpython-c8c0d78d09cfeda229faaf74e7d13c01033c034d.tar.bz2 |
remove warnings supression
-rw-r--r-- | Lib/test/test_contextlib.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Lib/test/test_contextlib.py b/Lib/test/test_contextlib.py index bdf4776..f000f76 100644 --- a/Lib/test/test_contextlib.py +++ b/Lib/test/test_contextlib.py @@ -9,7 +9,6 @@ import unittest import threading from contextlib import * # Tests __all__ from test import support -import warnings class ContextManagerTestCase(unittest.TestCase): @@ -210,9 +209,7 @@ class LockContextTestCase(unittest.TestCase): # This is needed to make the test actually run under regrtest.py! def test_main(): - with warnings.catch_warnings(): - warnings.simplefilter('ignore') - support.run_unittest(__name__) + support.run_unittest(__name__) if __name__ == "__main__": test_main() |