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

Method test_text_skipping

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

Source from the content-addressed store, hash-verified

492 ]
493
494 def test_text_skipping(self) -> None:
495 lines = callequal("a" * 50 + "spam", "a" * 50 + "eggs")
496 assert lines is not None
497 assert "Skipping" in lines[2]
498 for line in lines:
499 assert "a" * 50 not in line
500
501 def test_text_skipping_trailing(self) -> None:
502 # Same length, differ at index 1, then ~50 identical trailing chars.

Callers

nothing calls this directly

Calls 1

callequalFunction · 0.85

Tested by

no test coverage detected