AssertionError
s with differing items in dict of lists do not display properly when not running in verbose mode
#11980
Labels
topic: reporting
related to terminal output and user-facing messages and errors
type: enhancement
new feature or API change, should be merged into features branch
when an
assert
statement fails where the values being compared aredict
s oflist
s with 8 or more items in the list, it does not show what part of the list was different in the output.pip list
from the virtual environment you are usingnot using pip
pytest 8.0, windows 10/11
the truncated diff does not show what part was different. it should instead display something like:
The text was updated successfully, but these errors were encountered: