code: def test_repr():
      class Plugin:
          @hookimpl
          def myhook():
              raise NotImplementedError()
  
      pm = PluginManager(hookspec.project_name)
  
      plugin = Plugin()
      pname = pm.register(plugin)
      assert repr(pm.hook.myhook._nonwrappers[0]) == (
          "<HookImpl plugin_name=%r, plugin=%r>" % (pname, plugin)
      )
  
imports: import warnings
  import pytest
  from pluggy import PluginManager, HookimplMarker, HookspecMarker
label_desc: Use image node_id 5 for calling a global function with example usage: test_repr() without return types