code: def test_prefix_splitting_types(string, types):
      tree = parso.parse(string)
      leaf = tree.children[0]
      assert leaf.type == "endmarker"
      parsed_tokens = list(leaf._split_prefix())
      assert [t.type for t in parsed_tokens] == types
  
imports: from itertools import zip_longest
  from codecs import BOM_UTF8
  import pytest
  import parso
label_desc: Use image node_id 2 for calling a global function with example usage: test_prefix_splitting_types(string, types) without return types