code: def test_ansi_true_color():
      assert to_formatted_text(
          ANSI("\033[38;2;144;238;144m$\033[0;39;49m ")
      ) == [
          ("#90ee90", "$"),
          ("ansidefault bg:ansidefault", " "),
      ]
  
file_path: catboost/contrib/python/prompt-toolkit/py3/tests/test_formatted_text.py
imports: from __future__ import annotations
  from prompt_toolkit.formatted_text import ANSI, HTML, FormattedText, PygmentsTokens, Template, merge_formatted_text, to_formatted_text
  from prompt_toolkit.formatted_text.utils import split_lines
label_desc: Use image node_id 5 for calling a global function with example usage: test_ansi_true_color() without return types