code: def test_argmismatch(pm):
      class Api(object):
          @hookspec
          def hello(self, arg):
              "api hook 1"
  
      pm.add_hookspecs(Api)
  
      class Plugin(object):
          @hookimpl
          def hello(self, argwrong):
              pass
  
      with pytest.raises(PluginValidationError) as exc:
          pm.register(Plugin())
  
      assert "argwrong" in str(exc.value)
  
file_path: catboost/contrib/python/pluggy/py2/tests/test_invocations.py
imports: import pytest
  from pluggy import PluginValidationError, HookimplMarker, HookspecMarker
label_desc: Use image node_id 1 for calling a global function with example usage: test_argmismatch(pm) without return types