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

Method __getattr__

src/_pytest/main.py:427–430  ·  view source on GitHub ↗
(self, name: str)

Source from the content-addressed store, hash-verified

425 self.remove_mods = remove_mods
426
427 def __getattr__(self, name: str):
428 x = self.pm.subset_hook_caller(name, remove_plugins=self.remove_mods)
429 self.__dict__[name] = x
430 return x
431
432
433class Interrupted(KeyboardInterrupt):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected