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

Class FSHookProxy

src/_pytest/main.py:422–430  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

420
421
422class FSHookProxy:
423 def __init__(self, pm: PytestPluginManager, remove_mods) -> None:
424 self.pm = pm
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 1

gethookproxyMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected