[issue19590] Use specific asserts in test_email

R. David Murray report at bugs.python.org
Fri Nov 15 18:03:50 CET 2013


R. David Murray added the comment:

Additional changes look good to me.

Unless (pun intended) Barry objects, I think I'll come down in favor of backporting all of these changes.  The tipping point is that I've always found myself experiencing cognitive dissonance reading the 'unless' calls, since they are the "opposite sense" of all of the other 'assert' style calls.  Having all these tests be the same in all active branches will also help reduce cognitive dissonance while debugging failures :)

----------

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


More information about the Python-bugs-list mailing list