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

Function test_linematcher_string_api

testing/test_pytester.py:615–617  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

613
614
615def test_linematcher_string_api() -> None:
616 lm = LineMatcher(["foo", "bar"])
617 assert str(lm) == "foo\nbar"
618
619
620def test_pytest_addopts_before_pytester(request, monkeypatch: MonkeyPatch) -> None:

Callers

nothing calls this directly

Calls 1

LineMatcherClass · 0.90

Tested by

no test coverage detected