[New-bugs-announce] [issue16433] unittest.TestCase.assertNotEqual has incorrect docstring.

Mark Dickinson report at bugs.python.org
Thu Nov 8 10:05:13 CET 2012


New submission from Mark Dickinson:

The TestCase.assertNotEqual docstring currently says:

  Fail if the two objects are equal as determined by the '==' operator.

This doesn't match the implementation, which checks that '!=' gives True (rather than checking that '==' gives False).  The online docs look fine.

----------
components: Library (Lib)
messages: 175142
nosy: mark.dickinson
priority: normal
severity: normal
status: open
title: unittest.TestCase.assertNotEqual has incorrect docstring.
versions: Python 2.7, Python 3.2, Python 3.3, Python 3.4

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


More information about the New-bugs-announce mailing list