[issue20544] Use specific asserts in operator tests

Terry J. Reedy report at bugs.python.org
Sat May 3 07:38:46 CEST 2014


Terry J. Reedy added the comment:

The generic error message for the first is 'False is not true'. Clear but useless. The error message for the second is the more specific '<representation of object)> is not None'. Since the expression was supposed to evaluate to None, but did not, it would be helpful to me, at least, to know what it did evaluate to.

----------

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


More information about the Python-bugs-list mailing list