[issue9754] assertWarns and assertWarnsRegexp

Florent Xicluna report at bugs.python.org
Fri Sep 3 14:51:07 CEST 2010


Florent Xicluna <florent.xicluna at gmail.com> added the comment:

> unittest should provide assertWarns and assertWarnsRegexp

+1
(the internal helpers in test.support could be refactored)

> The __warningregistry__ stuff looks horrible.

+1
(and it does not behave exactly the same in all Python versions)

----------
nosy: +flox

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


More information about the Python-bugs-list mailing list