code: def _get_token_list(string, version=None):
      # Load the current version.
      version_info = parse_version_string(version)
      return list(tokenize.tokenize(string, version_info))
  
imports: import sys
  from textwrap import dedent
  import pytest
  from parso.utils import split_lines, parse_version_string
  from parso.python.token import PythonTokenTypes
  from parso.python import tokenize
  from parso import parse
  from parso.python.tokenize import PythonToken
label_desc: Use image node_id 1 for calling a global function with example usage: _get_token_list(string, version) and returns: list