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():
|
||||
config = mock_config()
|
||||
detail = plugin.pytest_assertrepr_compare(config, "==", "\r\n", "\n")
|
||||
assert detail == [
|
||||
assert callequal("\r\n", "\n") == [
|
||||
r"'\r\n' == '\n'",
|
||||
r"Strings contain only whitespace, escaping them using repr()",
|
||||
r"- '\n'",
|
||||
|
|
Loading…
Reference in New Issue