code: def test_param_splitting(each_version):
      """
      Jedi splits parameters into params, this is not what the grammar does,
      but Jedi does this to simplify argument parsing.
      """
  
      def check(src, result):
          # Python 2 tuple params should be ignored for now.
          m = parse(src, version=each_version)
          if each_version.startswith("2"):
              # We don't want b and c to be a part of the param enumeration. Just
              # ignore them, because it's not what we want to support in the
              # future.
              func = next(m.iter_funcdefs())
              assert [
                  param.name.value for param in func.get_params()
              ] == result
          else:
              assert not list(m.iter_funcdefs())
  
      check("def x(a, (b, c)):\n pass", ["a"])
      check("def x((b, c)):\n pass", [])
  
imports: from textwrap import dedent
  import pytest
  from parso._compatibility import u
  from parso import parse
  from parso.python import tree
  from parso.utils import split_lines
label_desc: Use image node_id 9 for calling a global function with example usage: test_param_splitting(each_version) without return types