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

Method test_text_diff

testing/test_assertion.py:344–349  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

342 assert len(summary) < 65
343
344 def test_text_diff(self) -> None:
345 assert callequal("spam", "eggs") == [
346 "'spam' == 'eggs'",
347 "- eggs",
348 "+ spam",
349 ]
350
351 def test_text_skipping(self) -> None:
352 lines = callequal("a" * 50 + "spam", "a" * 50 + "eggs")

Callers

nothing calls this directly

Calls 1

callequalFunction · 0.85

Tested by

no test coverage detected