Message114340
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. |
|
Date |
User |
Action |
Args |
2010-08-19 11:04:11 | labrat | set | recipients:
+ labrat |
2010-08-19 11:04:11 | labrat | set | messageid: <1282215851.54.0.826836496752.issue9640@psf.upfronthosting.co.za> |
2010-08-19 11:04:09 | labrat | link | issue9640 messages |
2010-08-19 11:04:08 | labrat | create | |
|