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

Method raise_exception

testing/test_compat.py:158–159  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

156
157 @property
158 def raise_exception(self):
159 raise Exception("exception should be caught")
160
161 @property
162 def raise_fail_outcome(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected