test_reprcompare_whitespaces: use callequal
This commit is contained in:
parent
260f848c05
commit
1baeefc2fd
|
@ -1074,9 +1074,7 @@ def test_reprcompare_notin():
|
||||||
|
|
||||||
|
|
||||||
def test_reprcompare_whitespaces():
|
def test_reprcompare_whitespaces():
|
||||||
config = mock_config()
|
assert callequal("\r\n", "\n") == [
|
||||||
detail = plugin.pytest_assertrepr_compare(config, "==", "\r\n", "\n")
|
|
||||||
assert detail == [
|
|
||||||
r"'\r\n' == '\n'",
|
r"'\r\n' == '\n'",
|
||||||
r"Strings contain only whitespace, escaping them using repr()",
|
r"Strings contain only whitespace, escaping them using repr()",
|
||||||
r"- '\n'",
|
r"- '\n'",
|
||||||
|
|
Loading…
Reference in New Issue