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

Method __getattr__

testing/test_assertrewrite.py:264–265  ·  view source on GitHub ↗
(self, attribute_name)

Source from the content-addressed store, hash-verified

262 """A class whose getattr fails, but not with `AttributeError`."""
263
264 def __getattr__(self, attribute_name):
265 raise KeyError()
266
267 def __repr__(self) -> str:
268 return "Y"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected