[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

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

> The __warningregistry__ stuff looks horrible.

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

nosy: +flox

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list