changelog, fix branch coverage
This commit is contained in:
1
changelog/5026.feature.rst
Normal file
1
changelog/5026.feature.rst
Normal file
@@ -0,0 +1 @@
|
||||
Assertion failure messages for sequences and dicts contain the number of different items now.
|
||||
@@ -297,7 +297,7 @@ def _compare_eq_sequence(left, right, verbose=0):
|
||||
if len_diff > 0:
|
||||
dir_with_more = "Left"
|
||||
extra = saferepr(left[len_right])
|
||||
elif len_diff < 0:
|
||||
else:
|
||||
len_diff = 0 - len_diff
|
||||
dir_with_more = "Right"
|
||||
extra = saferepr(right[len_left])
|
||||
|
||||
Reference in New Issue
Block a user