[issue7709] the msg parameters of PyUnit assertions, such as assertEqual, should not obscure the automated diagnostics, such as '%s != %s'

R. David Murray report at bugs.python.org
Fri Jan 15 22:05:38 CET 2010


R. David Murray <rdmurray at bitdance.com> added the comment:

You are looking for this:

http://docs.python.org/dev/py3k/library/unittest.html#unittest.TestCase.longMessage

I wish it were the default, but at least it exists in 2.7 and 3.x. (It can't be the default for backward compatibility reasons.)

----------
nosy: +r.david.murray
priority:  -> normal
resolution:  -> out of date
stage:  -> committed/rejected

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


More information about the Python-bugs-list mailing list