[Python-checkins] cpython (2.7): #16433: fix docstring of assertNotEqual.
ezio.melotti
python-checkins at python.org
Thu Nov 8 10:09:42 CET 2012
http://hg.python.org/cpython/rev/d32d04edd371
changeset: 80307:d32d04edd371
branch: 2.7
parent: 80303:e089bdca9d9c
user: Ezio Melotti <ezio.melotti at gmail.com>
date: Thu Nov 08 11:08:39 2012 +0200
summary:
#16433: fix docstring of assertNotEqual.
files:
Lib/unittest/case.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Lib/unittest/case.py b/Lib/unittest/case.py
--- a/Lib/unittest/case.py
+++ b/Lib/unittest/case.py
@@ -516,7 +516,7 @@
assertion_func(first, second, msg=msg)
def assertNotEqual(self, first, second, msg=None):
- """Fail if the two objects are equal as determined by the '=='
+ """Fail if the two objects are equal as determined by the '!='
operator.
"""
if not first != second:
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list