From c8c0d78d09cfeda229faaf74e7d13c01033c034d Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Wed, 1 Jul 2009 01:39:51 +0000 Subject: [PATCH] remove warnings supression --- Lib/test/test_contextlib.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Lib/test/test_contextlib.py b/Lib/test/test_contextlib.py index bdf4776b57c..f000f7638c5 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()