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

Function test_match_succeeds

testing/code/test_excinfo.py:407–410  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

405
406
407def test_match_succeeds():
408 with pytest.raises(ZeroDivisionError) as excinfo:
409 0 // 0
410 excinfo.match(r".*zero.*")
411
412
413def test_match_raises_error(pytester: Pytester) -> None:

Callers

nothing calls this directly

Calls 1

matchMethod · 0.80

Tested by

no test coverage detected