code: def test_call_extra(pm: PluginManager) -> None:
      class Hooks:
          @hookspec
          def he_method1(self, arg):
              pass
  
      pm.add_hookspecs(Hooks)
  
      def he_method1(arg):
          return arg * 10
  
      out = pm.hook.he_method1.call_extra([he_method1], dict(arg=1))
      assert out == [10]
  
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 19 for calling a global function with example usage: test_call_extra(pm) and returns: unknown