[issue7849] Improve "test_support.check_warnings()"

Florent Xicluna report at bugs.python.org
Wed Feb 3 22:24:10 CET 2010


Florent Xicluna <laxyf at yahoo.fr> added the comment:

Actually this patch enhances check_warnings() in other ways too:
 - it verifies if the warning is effectively raised
 - it deals with "py3k" warnings separately

It could be used instead of warnings.filterwarnings() with some benefits.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7849>
_______________________________________


More information about the Python-bugs-list mailing list