code: def test_invalid_token():
      module = parse("a + ? + b")
      error_node, q, plus_b, endmarker = module.children
      assert error_node.get_code() == "a +"
      assert q.value == "?"
      assert q.type == "error_leaf"
      assert plus_b.type == "factor"
      assert plus_b.get_code() == " + b"
  
file_path: catboost/contrib/python/parso/py3/tests/test_error_recovery.py
imports: from textwrap import dedent
  from parso import parse, load_grammar
label_desc: Use image node_id 5 for calling a global function with example usage: test_invalid_token() without return types