code: def test_color_escapes():
      fixed, plan = fix_and_explain("\001\033[36;44mfoo")
      print(plan)
      assert fixed == "foo"
      assert plan == [
          ("apply", "remove_terminal_escapes"),
          ("apply", "remove_control_chars"),
      ]
  
file_path: python-ftfy/tests/test_characters.py
imports: from ftfy import fix_encoding, fix_encoding_and_explain, fix_text, fix_and_explain, apply_plan
  from ftfy.fixes import remove_control_chars, fix_surrogates
  from ftfy.chardata import possible_encoding
  from ftfy.badness import badness
  import unicodedata
  import sys
label_desc: Use image node_id 7 for calling a global function with example usage: test_color_escapes() without return types