[issue21820] unittest: unhelpful truncating of long strings.

Michael Foord report at bugs.python.org
Mon Jun 23 16:50:35 CEST 2014


Michael Foord added the comment:

I agree that it looks like a bug that this behaviour is triggering for non-strings. There is separate code (which uses maxDiff) for comparing collections. 

Switching off the behaviour for 3.4 / 2.7 and a new class attribute for 3.5 is a good approach.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21820>
_______________________________________


More information about the Python-bugs-list mailing list