code: def test_ansi_codes():
      all_styles = Style(
          color="red",
          bgcolor="black",
          bold=True,
          dim=True,
          italic=True,
          underline=True,
          blink=True,
          blink2=True,
          reverse=True,
          conceal=True,
          strike=True,
          underline2=True,
          frame=True,
          encircle=True,
          overline=True,
      )
      expected = "1;2;3;4;5;6;7;8;9;21;51;52;53;31;40"
      assert (
          all_styles._make_ansi_codes(ColorSystem.TRUECOLOR) == expected
      )
  
imports: import pytest
  from rich import errors
  from rich.color import Color, ColorSystem, ColorType
  from rich.style import Style, StyleStack
label_desc: Use image node_id 2 for calling a global function with example usage: test_ansi_codes() without return types