[Python-checkins] r73734 - python/branches/py3k/Lib/test/test_contextlib.py
benjamin.peterson
python-checkins at python.org
Wed Jul 1 03:39:51 CEST 2009
Author: benjamin.peterson
Date: Wed Jul 1 03:39:51 2009
New Revision: 73734
Log:
remove warnings supression
Modified:
python/branches/py3k/Lib/test/test_contextlib.py
Modified: python/branches/py3k/Lib/test/test_contextlib.py
==============================================================================
--- python/branches/py3k/Lib/test/test_contextlib.py (original)
+++ python/branches/py3k/Lib/test/test_contextlib.py Wed Jul 1 03:39:51 2009
@@ -9,7 +9,6 @@
import threading
from contextlib import * # Tests __all__
from test import support
-import warnings
class ContextManagerTestCase(unittest.TestCase):
@@ -210,9 +209,7 @@
# 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()
More information about the Python-checkins
mailing list