code: def get_yield_exprs(code, version):
      return list(
          parse(code, version=version).children[0].iter_yield_exprs()
      )
  
imports: from textwrap import dedent
  import pytest
  from parso import parse
  from parso.python import tree
label_desc: Use image node_id 7 for calling a global function with example usage: get_yield_exprs(code, version) and returns: list