fixup! fixup! Color the full diff that pytest shows as a diff

This commit is contained in:
Benjamin Schubert 2023-10-23 19:43:37 +01:00
parent 13459c35e8
commit 7e477ac23d
1 changed files with 1 additions and 1 deletions

View File

@ -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)