MCPcopy
hub / github.com/pytest-dev/pytest / get_plugin_manager

Function get_plugin_manager

src/_pytest/config/__init__.py:376–384  ·  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

374
375
376def get_plugin_manager() -> PytestPluginManager:
377 """Obtain a new instance of the
378 :py:class:`pytest.PytestPluginManager`, with default plugins
379 already loaded.
380
381 This function can be used by integration with other tools, like hooking
382 into pytest to run tests into an IDE.
383 """
384 return get_config().pluginmanager
385
386
387def _prepareconfig(

Callers

nothing calls this directly

Calls 1

get_configFunction · 0.85

Tested by

no test coverage detected