<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Apr 8, 2010, at 3:15 PM, Michael Foord wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><br><br><div class="gmail_quote">On 8 April 2010 21:47, Floris Bruynooghe <span dir="ltr"><<a href="mailto:floris.bruynooghe@gmail.com">floris.bruynooghe@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi<br>
<br>
I've found myself modifying the<br>
unittest.TestCase.assertSequenceEqual() method to suppress the diff of<br>
the two sequences if the diff is more then a few lines and was<br>
wondering if this was something worth considering in the stdlib in<br>
some form or another.  The resulting message still contains useful<br>
information since it still prints the first differing elements, and it<br>
avoids flooding the screen with lots of data for long sequences.<br></blockquote><div><br><br>That sounds useful. Please post a feature request on the bug tracker - preferably with a patch including tests.<br><font class="Apple-style-span" color="#000000"><font class="Apple-style-span" color="#144FAE"><br></font></font></div></div></blockquote><br></div><div>+1</div><div><br></div><div>Perhaps this can be considered a bug fix -- spewing a core dump in the test summary not considered helpful.</div><div><br></div><div><br></div><div>Raymond</div></body></html>