-
-
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
Verbosity setting does not affect truncation of sequences when comparing their length #11777
Labels
topic: reporting
related to terminal output and user-facing messages and errors
type: question
general question, might be closed after 2 weeks of inactivity
Comments
Zac-HD
added
type: question
general question, might be closed after 2 weeks of inactivity
topic: reporting
related to terminal output and user-facing messages and errors
labels
Feb 17, 2024
Hi! I can try working on this. |
HolyMagician03-UMich
added a commit
to HolyMagician03-UMich/pytest
that referenced
this issue
Apr 6, 2024
nicoddemus
added a commit
that referenced
this issue
Apr 10, 2024
Fix #11777 --------- Co-authored-by: Bruno Oliveira <[email protected]>
Merged
nicoddemus
pushed a commit
to kenny-y-dev/pytest
that referenced
this issue
Jan 26, 2025
nicoddemus
pushed a commit
to nicoddemus/pytest
that referenced
this issue
Jan 26, 2025
Pierre-Sassoulas
pushed a commit
that referenced
this issue
Jan 26, 2025
Fix #11777 Co-authored-by: Kenny Y <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
topic: reporting
related to terminal output and user-facing messages and errors
type: question
general question, might be closed after 2 weeks of inactivity
If a comparison on the length of a sequence fails, the sequence is truncated in the failure explanation regardless of the verbosity setting.
Example script:
Output of
python3 -m pytest test_truncation.py
:Output of
python3 -m pytest test_truncation.py -v
:Output of
python3 -m pytest test_truncation.py -vv
:Why are the sequences always truncated in the explanations of the length comparison failures, regardless of verbosity?
Python 3.10.12, pytest-7.4.4, my OS is Linux Mint 21.2.
pip list
output attached:pip_list.txt
The text was updated successfully, but these errors were encountered: