MCPcopy Create free account
hub / github.com/pytest-dev/pytest / test_reprcompare_whitespaces

Function test_reprcompare_whitespaces

testing/test_assertion.py:1276–1283  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1274
1275
1276def test_reprcompare_whitespaces() -> None:
1277 assert callequal("\r\n", "\n") == [
1278 r"'\r\n' == '\n'",
1279 r"Strings contain only whitespace, escaping them using repr()",
1280 r"- '\n'",
1281 r"+ '\r\n'",
1282 r"? ++",
1283 ]
1284
1285
1286def test_pytest_assertrepr_compare_integration(pytester: Pytester) -> None:

Callers

nothing calls this directly

Calls 1

callequalFunction · 0.85

Tested by

no test coverage detected