code: def test_valid(code, grammar):
      module = grammar.parse(code, error_recovery=False)
      fstring = module.children[0]
      assert fstring.type == "fstring"
      assert fstring.get_code() == code
  
file_path: catboost/contrib/python/parso/py2/tests/test_fstring.py
imports: import pytest
  from textwrap import dedent
  from parso import load_grammar, ParserSyntaxError
  from parso.python.tokenize import tokenize
label_desc: Use image node_id 2 for calling a global function with example usage: test_valid(code, grammar) without return types