code: def test_hookwrapper_too_many_yield():
      @hookimpl(hookwrapper=True)
      def m1():
          yield 1
          yield 2
  
      with pytest.raises(RuntimeError) as ex:
          MC([m1], {})
      assert "m1" in str(ex.value)
      assert (__file__ + ":") in str(ex.value)
  
file_path: catboost/contrib/python/pluggy/py2/tests/test_multicall.py
imports: import pytest
  from pluggy import HookCallError, HookspecMarker, HookimplMarker
  from pluggy.hooks import HookImpl
  from pluggy.callers import _multicall, _legacymulticall
label_desc: Use image node_id 11 for calling a global function with example usage: test_hookwrapper_too_many_yield() without return types