New submission from Martin Panter:

In Mercurial revision 6e5b5d1b6714, the documentation for 
“assertMultiLineEqual” was changed from

This method is used by default when comparing Unicode strings with 
“assertEqual”.

to

This method is used by default when comparing strings with “assertEqual”. 

The new text is misleading because “str” objects are also strings, but the 
default does not apply to “str” objects.

----------
assignee: docs@python
components: Documentation, Tests
keywords: easy
messages: 293229
nosy: docs@python, ezio.melotti, martin.panter
priority: normal
severity: normal
stage: needs patch
status: open
title: TestCase.assertMultiLineEqual only registered for Unicode strings in 2.7
type: behavior
versions: Python 2.7

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

Reply via email to