code: def get_raise_stmts(code, child):
      return list(parse(code).children[child].iter_raise_stmts())
  
imports: from textwrap import dedent
  import pytest
  from parso import parse
  from parso.python import tree
label_desc: Use image node_id 9 for calling a global function with example usage: get_raise_stmts(code, child) and returns: list