Changeset 391 for python/trunk/Lib/test/test_global.py
- Timestamp:
- Mar 19, 2014, 11:31:01 PM (11 years ago)
- Location:
- python/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
python/trunk
-
Property svn:mergeinfo
set to
/python/vendor/Python-2.7.6 merged eligible /python/vendor/current merged eligible
-
Property svn:mergeinfo
set to
-
python/trunk/Lib/test/test_global.py
r2 r391 3 3 from test.test_support import run_unittest, check_syntax_error 4 4 import unittest 5 import warnings 5 6 6 import warnings7 warnings.filterwarnings("error", module="<test string>")8 7 9 8 class GlobalTests(unittest.TestCase): … … 46 45 47 46 def test_main(): 48 run_unittest(GlobalTests) 47 with warnings.catch_warnings(): 48 warnings.filterwarnings("error", module="<test string>") 49 run_unittest(GlobalTests) 49 50 50 51 if __name__ == "__main__":
Note:
See TracChangeset
for help on using the changeset viewer.