MCPcopy
hub / github.com/pytest-dev/pytest / test_text_diff

Method test_text_diff

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

Source from the content-addressed store, hash-verified

470 assert len(summary) < 65
471
472 def test_text_diff(self) -> None:
473 assert callequal("spam", "eggs") == [
474 "'spam' == 'eggs'",
475 "",
476 "- eggs",
477 "+ spam",
478 ]
479
480 def test_text_diff_ndiff_style(self) -> None:
481 assert list(

Callers

nothing calls this directly

Calls 1

callequalFunction · 0.85

Tested by

no test coverage detected