changelog, fix branch coverage
This commit is contained in:
parent
47d92a0d96
commit
0f965e57a2
|
@ -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:
|
if len_diff > 0:
|
||||||
dir_with_more = "Left"
|
dir_with_more = "Left"
|
||||||
extra = saferepr(left[len_right])
|
extra = saferepr(left[len_right])
|
||||||
elif len_diff < 0:
|
else:
|
||||||
len_diff = 0 - len_diff
|
len_diff = 0 - len_diff
|
||||||
dir_with_more = "Right"
|
dir_with_more = "Right"
|
||||||
extra = saferepr(right[len_left])
|
extra = saferepr(right[len_left])
|
||||||
|
|
Loading…
Reference in New Issue