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

Function test_outcomeexception_passes_except_Exception

testing/test_runner.py:542–547  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

540
541
542def test_outcomeexception_passes_except_Exception() -> None:
543 with pytest.raises(outcomes.OutcomeException):
544 try:
545 raise outcomes.OutcomeException("test")
546 except Exception as e:
547 raise NotImplementedError from e
548
549
550def test_pytest_exit() -> None:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected