fixup! fixup! Color the full diff that pytest shows as a diff
This commit is contained in:
parent
13459c35e8
commit
7e477ac23d
|
@ -197,7 +197,7 @@ def assertrepr_compare(
|
|||
try:
|
||||
if op == "==":
|
||||
writer = config.get_terminal_writer()
|
||||
explanation = _compare_eq_any(left, right, writer, verbose)
|
||||
explanation = _compare_eq_any(left, right, writer._highlight, verbose)
|
||||
elif op == "not in":
|
||||
if istext(left) and istext(right):
|
||||
explanation = _notin_text(left, right, verbose)
|
||||
|
|
Loading…
Reference in New Issue