This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author michael.foord
Recipients michael.foord
Date 2009-10-01.22:29:44
SpamBayes Score 7.5257077e-07
Marked as misclassified No
Message-id <1254436185.92.0.46884038882.issue7032@psf.upfronthosting.co.za>
In-reply-to
Content
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.)
History
Date User Action Args
2009-10-01 22:29:46michael.foordsetrecipients: + michael.foord
2009-10-01 22:29:45michael.foordsetmessageid: <1254436185.92.0.46884038882.issue7032@psf.upfronthosting.co.za>
2009-10-01 22:29:44michael.foordlinkissue7032 messages
2009-10-01 22:29:44michael.foordcreate