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

Function test_reprcompare_notin_long_text

testing/test_assertion.py:1758–1764  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1756
1757
1758def test_reprcompare_notin_long_text() -> None:
1759 # Long enough surrounding context to make the underlying ``_diff_text`` call
1760 # emit a "Skipping ... identical leading characters" line, which
1761 # ``_notin_text`` filters out.
1762 lines = callop("not in", "x", "a" * 50 + "x")
1763 assert lines is not None
1764 assert not any("Skipping" in line for line in lines)
1765
1766
1767def test_compare_eq_cls_no_comparable_fields() -> None:

Callers

nothing calls this directly

Calls 1

callopFunction · 0.85

Tested by

no test coverage detected