code: def test_query_parser(text, expect_args):
      info = queryutils.query_parser(text)
      fn = queryutils.query_builder(info, "myfoo")
      assert callable(fn)
      argspec = inspect.getfullargspec(fn)
      assert tuple(argspec.args) == tuple(expect_args)
  
file_path: cudf/python/cudf/cudf/tests/test_query.py
imports: import datetime
  import inspect
  from itertools import product
  import numpy
  import pandas
  import pytest
  import cudf
  from cudf import DataFrame
  from cudf.testing._utils import assert_eq
  from cudf.utils import queryutils
label_desc: Use image node_id 1 for calling a global function with example usage: test_query_parser(text, expect_args) without return types