test now testing verbose

This commit is contained in:
Itxaso Aizpurua 2022-10-08 08:38:52 +02:00
parent 577ac40029
commit 50d75b3822
1 changed files with 7 additions and 0 deletions

View File

@ -787,6 +787,13 @@ class TestAssert_reprcompare:
f"+ {str(left)}",
]
expl = callequal(left, right, verbose=2)
assert expl == [
"\"'hyv\\\\xe4'\" == \"'hyva\\\\u0308'\"",
f"- {str(right)}",
f"+ {str(left)}",
]
class TestAssert_reprcompare_dataclass:
def test_dataclasses(self, pytester: Pytester) -> None: