code: def test_call_extra(pm):
      class Hooks(object):
          @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 pytest
  import types
  from pluggy import PluginManager, PluginValidationError, HookCallError, HookimplMarker, HookspecMarker
  from pluggy.manager import importlib_metadata
label_desc: Use image node_id 15 for calling a global function with example usage: test_call_extra(pm) and returns: unknown