[Python-bugs-list] [ python-Bugs-715145 ] unittest.py still uses != in failUnlessEqual.
SourceForge.net
noreply@sourceforge.net
Fri, 04 Apr 2003 00:25:12 -0800
Bugs item #715145, was opened at 2003-04-04 03:25
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=715145&group_id=5470
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Jeremy Fincher (jemfinch)
Assigned to: Nobody/Anonymous (nobody)
Summary: unittest.py still uses != in failUnlessEqual.
Initial Comment:
It was submitted a long time ago to the PyUnit SF.net bug
tracker
(http://sourceforge.net/tracker/index.php?func=detail&aid=453281&group_id=3912&atid=103912),
and even got the BDFL approval, but still hasn't been
changed. See the linked bug for the actual fix.
(I also agree with rengelink's opinion that if __eq__ is
defined but not __ne__, != should be equivalent to not ==,
in which case this wouldn't be a problem.)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=715145&group_id=5470