code: def test_config_colors(self):
      text = self.text
      highlight = partial(
          config.idleConf.GetHighlight, theme="IDLE Classic"
      )
      for tag in self.color.tagdefs:
          for plane in ("background", "foreground"):
              with self.subTest(tag=tag, plane=plane):
                  if tag in ("SYNC", "TODO"):
                      self.assertEqual(text.tag_cget(tag, plane), "")
                  else:
                      self.assertEqual(
                          text.tag_cget(tag, plane),
                          highlight(element=tag.lower())[plane],
                      )
      # 'sel' is marked as the highest priority.
      self.assertEqual(text.tag_names()[-1], "sel")
  
imports: from idlelib import colorizer
  from test.support import requires
  import unittest
  from unittest import mock
  from idlelib.idle_test.tkinter_testing_utils import run_in_tk_mainloop
  from functools import partial
  import textwrap
  from tkinter import Tk, Text
  from idlelib import config
  from idlelib.percolator import Percolator
label_desc: Use image node_id 7 for calling the ColorDelegatorTest obj's underlying member method code with example usage: obj.test_config_colors() without return types