[New-bugs-announce] [issue7032] Make assertMultilineEqual default for unicode string comparison in
Michael Foord
report at bugs.python.org
Fri Oct 2 00:29:45 CEST 2009
New submission from Michael Foord <michael at voidspace.org.uk>:
unittest.TestCase.assertEqual uses the new type equality functions for
comparing containers.
In Python 2.7 assertMultilineEqual should be the default comparison
method for unicode strings and in Python 3.2 for comparing strings.
assertMultilineEqual should only use difflib for showing differences for
strings above a certain length. (For short strings the extra output is
actually more confusing than helpful.)
----------
assignee: michael.foord
messages: 93424
nosy: michael.foord
severity: normal
status: open
title: Make assertMultilineEqual default for unicode string comparison in
versions: Python 2.7, Python 3.2
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7032>
_______________________________________
More information about the New-bugs-announce
mailing list