[issue21820] unittest: unhelpful truncating of long strings.

Serhiy Storchaka report at bugs.python.org
Tue Jun 24 08:33:44 CEST 2014


Serhiy Storchaka added the comment:

Will be enough just to increase default maximal string length (_MAX_LENGTH) to say 200? I think we can do this even in a bug fix release for 3.4. We can also increase the number of tail characters (_MIN_BEGIN_LEN and _MIN_END_LEN).

I'm against the "don't trigger on non-strings", because the repr of non-strings can be pretty large.

----------

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


More information about the Python-bugs-list mailing list