code: def test_no_error_nodes(each_version):
      def check(node):
          assert node.type not in ("error_leaf", "error_node")
  
          try:
              children = node.children
          except AttributeError:
              pass
          else:
              for child in children:
                  check(child)
  
      check(parse("if foo:\n bar", version=each_version))
  
imports: from textwrap import dedent
  import pytest
  from parso import parse
  from parso.python import tree
  from parso.utils import split_lines
label_desc: Use image node_id 16 for calling a global function with example usage: test_no_error_nodes(each_version) without return types