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

Method __getattribute__

testing/io/test_saferepr.py:173–174  ·  view source on GitHub ↗
(self, attr)

Source from the content-addressed store, hash-verified

171
172 class SomeClass:
173 def __getattribute__(self, attr):
174 raise RuntimeError
175
176 def __repr__(self):
177 raise RuntimeError

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected