code: def _do_parse_test(test_cases, extra_operators):
      for code, expected in six.iteritems(test_cases):
          actual = parse_formula(code, extra_operators=extra_operators)
          print(repr(code), repr(expected))
          print(actual)
          _compare_trees(actual, expected)
  
imports: from __future__ import print_function
  import tokenize
  import six
  from six.moves import cStringIO
  from patsy import PatsyError
  from patsy.origin import Origin
  from patsy.infix_parser import Token, Operator, infix_parse, ParseNode
  from patsy.tokens import python_tokenize, pretty_untokenize
  from patsy.util import PushbackAdapter
label_desc: Use image node_id 7 for calling a global function with example usage: _do_parse_test(test_cases, extra_operators) without return types