MCPcopy Index your code
hub / github.com/pytest-dev/pytest / getplugin

Method getplugin

src/_pytest/config/__init__.py:585–588  ·  view source on GitHub ↗
(self, name: str)

Source from the content-addressed store, hash-verified

583 return plugin_name
584
585 def getplugin(self, name: str):
586 # Support deprecated naming because plugins (xdist e.g.) use it.
587 plugin: _PluggyPlugin | None = self.get_plugin(name)
588 return plugin
589
590 def hasplugin(self, name: str) -> bool:
591 """Return whether a plugin with the given name is registered."""

Callers 15

capturing_outputFunction · 0.80
capturing_logsFunction · 0.80
pytest_configureFunction · 0.80
pytest_unconfigureFunction · 0.80
disabledMethod · 0.80
capsysFunction · 0.80
capteesysFunction · 0.80
capsysbinaryFunction · 0.80
capfdFunction · 0.80
capfdbinaryFunction · 0.80
_init_pdbMethod · 0.80

Calls

no outgoing calls

Tested by 8

capturing_outputFunction · 0.64
capturing_logsFunction · 0.64
pdblistMethod · 0.64
pastebinlistMethod · 0.64
pastebinMethod · 0.64