]> granicus.if.org Git - python/commit
Replace catch_warnings with check_warnings when it makes sense. Use assertRaises...
authorFlorent Xicluna <florent.xicluna@gmail.com>
Wed, 31 Mar 2010 22:01:03 +0000 (22:01 +0000)
committerFlorent Xicluna <florent.xicluna@gmail.com>
Wed, 31 Mar 2010 22:01:03 +0000 (22:01 +0000)
commit6257a7bbb2660ae75c44f2e71d7ac2ce73900f74
tree6f010065c95f2d5617f56e07ba2628be21cf9d7a
parentad5983364966b49c277b495112ae41c6ae2d01ed
Replace catch_warnings with check_warnings when it makes sense.  Use assertRaises context manager to simplify some tests.
21 files changed:
Lib/test/test___all__.py
Lib/test/test_argparse.py
Lib/test/test_coercion.py
Lib/test/test_commands.py
Lib/test/test_complex.py
Lib/test/test_contextlib.py
Lib/test/test_cookie.py
Lib/test/test_descr.py
Lib/test/test_doctest.py
Lib/test/test_exceptions.py
Lib/test/test_global.py
Lib/test/test_hmac.py
Lib/test/test_int_literal.py
Lib/test/test_io.py
Lib/test/test_macostools.py
Lib/test/test_pep352.py
Lib/test/test_re.py
Lib/test/test_sundry.py
Lib/test/test_symtable.py
Lib/test/test_urllibnet.py
Lib/test/test_zipimport_support.py