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

Function test_linematcher_string_api

testing/test_pytester.py:605–607  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

603
604
605def test_linematcher_string_api() -> None:
606 lm = LineMatcher(["foo", "bar"])
607 assert str(lm) == "foo\nbar"
608
609
610def 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