code: def test_indent_error_recovery():
      code = dedent(
          """\
                          str(
          from x import a
          def
          """
      )
      lst = _get_token_list(code)
      expected = [
          # `str(`
          INDENT,
          NAME,
          OP,
          # `from parso`
          NAME,
          NAME,
          # `import a` on same line as the previous from parso
          NAME,
          NAME,
          NEWLINE,
          # Dedent happens, because there's an import now and the import
          # statement "breaks" out of the opening paren on the first line.
          DEDENT,
          # `b`
          NAME,
          NEWLINE,
          ENDMARKER,
      ]
      assert [t.type for t in lst] == expected
  
imports: import sys
  from textwrap import dedent
  import pytest
  from parso.utils import split_lines, parse_version_string
  from parso.python.token import PythonTokenTypes
  from parso.python import tokenize
  from parso import parse
  from parso.python.tokenize import PythonToken
label_desc: Use image node_id 17 for calling a global function with example usage: test_indent_error_recovery() without return types