code: def test_register_historic_incompat_hookwrapper(pm):
      class Hooks(object):
          @hookspec(historic=True)
          def he_method1(self, arg):
              pass
  
      pm.add_hookspecs(Hooks)
  
      out = []
  
      class Plugin(object):
          @hookimpl(hookwrapper=True)
          def he_method1(self, arg):
              out.append(arg)
  
      with pytest.raises(PluginValidationError):
          pm.register(Plugin())
  
imports: import pytest
  import types
  from pluggy import PluginManager, PluginValidationError, HookCallError, HookimplMarker, HookspecMarker
  from pluggy.manager import importlib_metadata
label_desc: Use image node_id 14 for calling a global function with example usage: test_register_historic_incompat_hookwrapper(pm) without return types