MCPcopy Index your code
hub / github.com/pytest-dev/pytest / test_helper_failures

Function test_helper_failures

testing/test_compat.py:95–100  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

93
94
95def test_helper_failures() -> None:
96 helper = ErrorsHelper()
97 with pytest.raises(Exception): # noqa: B017
98 _ = helper.raise_exception
99 with pytest.raises(OutcomeException):
100 _ = helper.raise_fail_outcome
101
102
103def test_safe_getattr() -> None:

Callers

nothing calls this directly

Calls 1

ErrorsHelperClass · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…