[issue9174] unittest assertEqual error output sub-optimal for single strings

2010-07-10 Thread Michael Foord
Changes by Michael Foord : -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/opt

[issue9174] unittest assertEqual error output sub-optimal for single strings

2010-07-10 Thread Michael Foord
Michael Foord added the comment: I agree that mentioning contextmanager in the ContextDecorator docs is a good idea - plus adding something like Nick's example. I'll do that. -- ___ Python tracker

[issue9174] unittest assertEqual error output sub-optimal for single strings

2010-07-10 Thread Michael Foord
Michael Foord added the comment: Committed revision 82767. (py3k) Committed revision 82765. (release27-maint) Fix could be ported to Python 3.1 as a bugfix as well. -- resolution: -> accepted stage: patch review -> committed/rejected status: open -> closed

[issue9174] unittest assertEqual error output sub-optimal for single strings

2010-07-05 Thread R. David Murray
New submission from R. David Murray : When assertEqual is called on a pair of strings, then in Python3 assertMultiLineEqual is called. This function calls ndiff to display a nicely formatted multiline comparison of the strings, which would make it very easy to spot the differences...if it wor