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 adchanw
Recipients Elena.Oat, adchanw, anish.shah, chris.jerdonek, ezio.melotti, michael.foord, pynewbie, r.david.murray, rbcollins
Date 2016-09-15.22:29:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I've attached a potential fix for this issue.

While trying to fix this, I noticed that I coudn't assume that I just need to ensure that each line has a newline. If I always ensure each line in diffline has a newline, then the fourth test in testAssertMultilineEqual (in Lib/unittest/test/ fails because standardMsg in assertMultiLineEqual in Lib/unittest/ is just one line without a newline. To sidestep this problem, I made it so that I only ensure there is a newline for each line if and only if there is more than one line in difflines. However, I'm not sure that I can assume there should be a newline in cases similar to the fourth test (where longMessage is set to true and a 'msg' is passed) in testAssertMultilineEqual but where there is more than one line in standardMsg in assertMultiLineEqual.
Date User Action Args
2016-09-15 22:29:39adchanwsetrecipients: + adchanw, rbcollins, ezio.melotti, r.david.murray, michael.foord, chris.jerdonek, Elena.Oat, anish.shah, pynewbie
2016-09-15 22:29:38adchanwsetmessageid: <>
2016-09-15 22:29:38adchanwlinkissue24780 messages
2016-09-15 22:29:38adchanwcreate