code: def test_adding_wrappers_ordering_tryfirst(hc, addmeth):
      @addmeth(hookwrapper=True, tryfirst=True)
      def he_method1():
          pass
  
      @addmeth(hookwrapper=True)
      def he_method2():
          pass
  
      assert hc._nonwrappers == []
      assert funcs(hc._wrappers) == [he_method2, he_method1]
  
file_path: catboost/contrib/python/pluggy/py2/tests/test_hookcaller.py
imports: import pytest
  from pluggy import HookimplMarker, HookspecMarker
  from pluggy.hooks import HookImpl
label_desc: Use image node_id 10 for calling a global function with example usage: test_adding_wrappers_ordering_tryfirst(hc, addmeth) without return types