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

Function test_reprcompare_notin

testing/test_assertion.py:1743–1750  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1741
1742
1743def test_reprcompare_notin() -> None:
1744 assert callop("not in", "foo", "aaafoobbb") == [
1745 "'foo' not in 'aaafoobbb'",
1746 "",
1747 "'foo' is contained here:",
1748 " aaafoobbb",
1749 "? +++",
1750 ]
1751
1752
1753def test_reprcompare_notin_nontext() -> None:

Callers

nothing calls this directly

Calls 1

callopFunction · 0.85

Tested by

no test coverage detected