code: def test_repr() -> None:
      class Plugin:
          @hookimpl
          def myhook(self):
              raise NotImplementedError()
  
      pm = PluginManager(hookspec.project_name)
  
      plugin = Plugin()
      pname = pm.register(plugin)
      assert repr(pm.hook.myhook.get_hookimpls()[0]) == (
          f"<HookImpl plugin_name={pname!r}, plugin={plugin!r}>"
      )
  
file_path: catboost/contrib/python/pluggy/py3/tests/test_details.py
imports: import pytest
  from pluggy import HookimplMarker
  from pluggy import HookspecMarker
  from pluggy import PluginManager
label_desc: Use image node_id 5 for calling a global function with example usage: test_repr() without return types