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

Class E

testing/python/raises.py:40–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38 """Ensure repr() on an exception info inside a pytest.raises with block works (#4386)"""
39
40 class E(Exception):
41 pass
42
43 with pytest.raises(E) as excinfo:
44 # this test prints the inflight uninitialized object

Callers 1

Calls

no outgoing calls

Tested by 1