[issue30839] Larger and/or configurable _MAX_LENGTH for unittest messages
R. David Murray
report at bugs.python.org
Wed Jul 5 16:27:37 EDT 2017
R. David Murray added the comment:
Yes, setting _MAX_LENGTH can be an independent feature request.
The default will not be changed, however, since it is the most useful default given that assertEquals in general produces a much more useful diff output in addition to the one-line summary. You might also/alternatively want to look in to providing your own assertEqual extension to produce a useful diff of your particular data structure.
----------
dependencies: +Unittest truncating of error message not works
nosy: +r.david.murray
versions: +Python 3.7 -Python 3.4
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30839>
_______________________________________
More information about the Python-bugs-list
mailing list