code: def test_invalid_token_in_fstr():
      module = load_grammar(version="3.6").parse('f"{a + ? + b}"')
      error_node, q, plus_b, error1, error2, endmarker = module.children
      assert error_node.get_code() == 'f"{a +'
      assert q.value == "?"
      assert q.type == "error_leaf"
      assert plus_b.type == "error_node"
      assert plus_b.get_code() == " + b"
      assert error1.value == "}"
      assert error1.type == "error_leaf"
      assert error2.value == '"'
      assert error2.type == "error_leaf"
  
file_path: catboost/contrib/python/parso/py2/tests/test_error_recovery.py
imports: from textwrap import dedent
  from parso import parse, load_grammar
label_desc: Use image node_id 6 for calling a global function with example usage: test_invalid_token_in_fstr() without return types