[TIP] Annotated tracebacks

Robert Collins robertc at robertcollins.net
Sun Oct 19 17:00:14 PDT 2014


On 20 October 2014 12:41, Chris Jerdonek <chris.jerdonek at gmail.com> wrote:
> On Sun, Oct 19, 2014 at 4:29 PM, Robert Collins

> arbitrary limit.  How do you propose handling that?  If the API
> doesn't allow showing more characters, it can be frustrating because
> the initial limit was arbitrary to begin with.

For the API side of it, clearly a parameter or configuration
supplied/set somehow.

For unittest and other clients of the API, it will be a per-client
thing to decide how to accept input from the user and pass it through.

For unittest specifically, we also have this problem in some assertion
output today; if (I don't recall) its configurable now, the same
option should suffice. If its not, we can add one and address both via
it.

-Rob

-- 
Robert Collins <rbtcollins at hp.com>
Distinguished Technologist
HP Converged Cloud



More information about the testing-in-python mailing list