[issue8414] Add test cases for assert

Ezio Melotti report at bugs.python.org
Fri Apr 16 04:57:05 CEST 2010


Ezio Melotti <ezio.melotti at gmail.com> added the comment:

Wouldn't it be better to test e.args instead or in addition to str(e)?
Skipping the whole test if __debug__ is False is also a good idea.

----------
nosy: +ezio.melotti
priority:  -> normal
stage:  -> patch review

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


More information about the Python-bugs-list mailing list