code: def test_register_historic(pm: PluginManager) -> None:
      class Hooks:
          @hookspec(historic=True)
          def he_method1(self, arg):
              pass
  
      pm.add_hookspecs(Hooks)
  
      pm.hook.he_method1.call_historic(kwargs=dict(arg=1))
      out = []
  
      class Plugin:
          @hookimpl
          def he_method1(self, arg):
              out.append(arg)
  
      pm.register(Plugin())
      assert out == [1]
  
      class Plugin2:
          @hookimpl
          def he_method1(self, arg):
              out.append(arg * 10)
  
      pm.register(Plugin2())
      assert out == [1, 10]
      pm.hook.he_method1.call_historic(kwargs=dict(arg=12))
      assert out == [1, 10, 120, 12]
  
imports: import sys
  from typing import Any
  from typing import List
  import pytest
  from pluggy import HookCallError
  from pluggy import HookimplMarker
  from pluggy import HookspecMarker
  from pluggy import PluginManager
  from pluggy import PluginValidationError
label_desc: Use image node_id 13 for calling a global function with example usage: test_register_historic(pm) without return types