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 labrat
Recipients labrat
Date 2010-08-19.11:04:08
SpamBayes Score 0.00042125973
Marked as misclassified No
Message-id <1282215851.54.0.826836496752.issue9640@psf.upfronthosting.co.za>
In-reply-to
Content
I had been struggling to find the failure-causing mismatch in a doctest with lots of output.  REPORT_UDIFF gave lots of false mismatches because I was also using NORMALIZE_WHITESPACE.  Looking through the doctest.py source, I saw a comment suggesting a nicer diff in the similar REPORT_*DIFF and ELLIPSIS situation.  So I went ahead and implemented one.  I'm not super happy with the cleanliness of the implementation, but it ended up being a bit trickier than I'd initially expected.
History
Date User Action Args
2010-08-19 11:04:11labratsetrecipients: + labrat
2010-08-19 11:04:11labratsetmessageid: <1282215851.54.0.826836496752.issue9640@psf.upfronthosting.co.za>
2010-08-19 11:04:09labratlinkissue9640 messages
2010-08-19 11:04:08labratcreate