[issue10273] Clean-up Unittest API

R. David Murray report at bugs.python.org
Wed Nov 3 14:01:25 CET 2010

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

assertEquals existed forever, too, but we deprecated that :) (with no intent to remove it, as I understand it).

There is no more ambiguity in "assertLessThan" than there is in assertLT, one just has more letters.  True, you have to look it up the first time, but you have to do that anyway, so I don't see that as a big deal.  Once you've looked it up the first time you know the naming rule and you can figure out all the other names.  (Which is not true now, since instead of 'LessThan' we have "Less", which does *not* correspond to to the special method name by a simple rule).


Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list