code: def pytest_plugin_registered(plugin, manager):
      """a new pytest plugin got registered.
  
      :param plugin: the plugin module or instance
      :param _pytest.config.PytestPluginManager manager: pytest plugin manager
  
      .. note::
          This hook is incompatible with ``hookwrapper=True``.
      """
  
imports: from pluggy import HookspecMarker
  from _pytest.deprecated import PYTEST_LOGWARNING
label_desc: Use image node_id 2 for calling a global function with example usage: pytest_plugin_registered(plugin, manager) without return types