unittest wart/bug for assertNotEqual

Mark Dickinson dickinsm at gmail.com
Tue Oct 20 14:23:17 EDT 2009


On Oct 20, 6:20 pm, Zac Burns <zac... at gmail.com> wrote:
> Using the assertNotEqual method of UnitTest (synonym for failIfEqual)
> only checks if first == second, but does not include not (first !=
> second)

It looks as though this is fixed in Python 2.7 (and also in 3.1):

http://svn.python.org/view?view=rev&revision=71032

--
Mark





More information about the Python-list mailing list