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

Function test_helper_failures

testing/test_compat.py:166–171  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

164
165
166def test_helper_failures() -> None:
167 helper = ErrorsHelper()
168 with pytest.raises(Exception):
169 helper.raise_exception
170 with pytest.raises(OutcomeException):
171 helper.raise_fail_outcome
172
173
174def test_safe_getattr() -> None:

Callers

nothing calls this directly

Calls 1

ErrorsHelperClass · 0.85

Tested by

no test coverage detected