-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
"-l" does not dump variables where "--tb" is not "long" #494
Comments
Original comment by Floris Bruynooghe (BitBucket: flub, GitHub: flub): Err, I'm not so sure about your classification as bug and title re-naming. This issue was about seeing the full lists when comparing two lists. Now you've confused it with something which is potentially an other issue: |
Original comment by Floris Bruynooghe (BitBucket: flub, GitHub: flub): Sorry, hijacking is probably a big word. It just seemed to me like the original report was a totally different report, so now I just don't know if you still care about the assert repr of lists or not. On whether -l/--tb=short should work together or not I'm not in a position to say and would wait for someone else's opinion. |
thoughts on making |
It could be useful with other styles, e.g. short: #1715. |
It silently ignores `-l` etc, and should be used on-demand only. Ref: pytest-dev/pytest#494
It silently ignores `-l` etc, and should be used on-demand only. Ref: pytest-dev/pytest#494
+1 for making Found this issue because we ran into the same problem for SciPy at scipy/scipy#11282 |
@blueyed @nicoddemus is this bug not getting attention because it's low-prio, or because of the confusing description/history in the comments here? If the latter, I can open a new bug if it helps. |
@rgommers no reason -- there's 480+ issues in the backlog currently -- would you like to take a stab at a PR to enable this? |
Enable showing local variables when asked to do so in the short traceback mode. Fix pytest-dev#494
Enable showing local variables when asked to do so in the short traceback mode. Fix pytest-dev#494
Enable showing local variables when asked to do so in the short traceback mode. Fixes pytest-dev#494
Allowing |
Enable showing local variables when asked to do so in the short traceback mode. Fixes pytest-dev#494
Enable showing local variables when asked to do so in the short traceback mode. Fixes pytest-dev#494
thanks @pv! |
Enable showing local variables when asked to do so in the short traceback mode. Fixes pytest-dev#494
Enable showing local variables when asked to do so in the short traceback mode. Fixes pytest-dev#494
Originally reported by: Ionel Cristian Mărieș (BitBucket: ionelmc, GitHub: ionelmc)
Example output
I use these options:
The text was updated successfully, but these errors were encountered: