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

Function get_plugin_manager

src/_pytest/config/__init__.py:293–301  ·  view source on GitHub ↗

Obtain a new instance of the :py:class:`pytest.PytestPluginManager`, with default plugins already loaded. This function can be used by integration with other tools, like hooking into pytest to run tests into an IDE.

()

Source from the content-addressed store, hash-verified

291
292
293def get_plugin_manager() -> "PytestPluginManager":
294 """Obtain a new instance of the
295 :py:class:`pytest.PytestPluginManager`, with default plugins
296 already loaded.
297
298 This function can be used by integration with other tools, like hooking
299 into pytest to run tests into an IDE.
300 """
301 return get_config().pluginmanager
302
303
304def _prepareconfig(

Callers

nothing calls this directly

Calls 1

get_configFunction · 0.85

Tested by

no test coverage detected