New submission from py.user:

http://docs.python.org/3/library/unittest.html#unittest.TestCase.longMessage
"If set to True then any explicit failure message you pass in to the assert 
methods will be appended to the end of the normal failure message. The normal 
messages contain useful information about the objects involved, for example the 
message from assertEqual shows you the repr of the two unequal objects. Setting 
this attribute to True allows you to have a custom error message in addition to 
the normal one."

the last sentence duplicates the first one

----------
assignee: docs@python
components: Documentation
files: issue.diff
keywords: patch
messages: 194748
nosy: docs@python, py.user
priority: normal
severity: normal
status: open
title: In unittest.TestCase.longMessage doc remove a redundant sentence
type: enhancement
versions: Python 3.3, Python 3.4
Added file: http://bugs.python.org/file31208/issue.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue18696>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to