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

Method _check_exceptions

src/_pytest/raises.py:1243–1247  ·  view source on GitHub ↗
(
        self: RaisesGroup[ExcT_1],
        _exception: Exception,
        actual_exceptions: Sequence[Exception],
    )

Source from the content-addressed store, hash-verified

1241
1242 @overload
1243 def _check_exceptions(
1244 self: RaisesGroup[ExcT_1],
1245 _exception: Exception,
1246 actual_exceptions: Sequence[Exception],
1247 ) -> TypeGuard[ExceptionGroup[ExcT_1]]: ...
1248 @overload
1249 def _check_exceptions(
1250 self: RaisesGroup[BaseExcT_1],

Callers 1

matchesMethod · 0.95

Calls 13

_check_expectedMethod · 0.95
set_resultMethod · 0.95
has_resultMethod · 0.95
no_match_for_actualMethod · 0.95
no_match_for_expectedMethod · 0.95
_repr_expectedMethod · 0.95
get_resultMethod · 0.95
ResultHolderClass · 0.85
backquoteFunction · 0.85
possible_matchFunction · 0.85
removeMethod · 0.80
appendMethod · 0.80

Tested by

no test coverage detected