-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unable to turn off ellipses in stack traces #2871
Comments
Thanks @smurfix. I believe pytest-dev/py#154 is a step in this direction. Also I think we can close as duplicate of #980? |
Right … didn't find that due to wholly different search keywords. Let's continue there. I'm somewhat unhappy with that pull request because when you have a complex data structure to report it's nearly indecipherable as a one-liner, so merely increasing the limits doesn't help that much. |
Having the same issue, comparing two objects is cumbersome:
|
Even when using
py.test -vvvv
, variables in stack traces are ellipsized when their representation gets "too long".This is controlled by hard coded constants in
py._io.saferepr.py::saferepr()
(and more constants in Python'sreprlib
, which it inherits from), which is called from multiple locations inpy._code/code.py
.Proposed solution: use pretty printing instead, at high verbosity levels.
The text was updated successfully, but these errors were encountered: