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

Method __getattr__

testing/code/test_excinfo.py:1465–1466  ·  view source on GitHub ↗
(self, attr)

Source from the content-addressed store, hash-verified

1463
1464 class RecursionDepthError:
1465 def __getattr__(self, attr):
1466 return getattr(self, "_" + attr)
1467
1468 with pytest.raises(RuntimeError) as excinfo:
1469 RecursionDepthError().trigger

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected