code: def test_LoadTagDefs(self):
      highlight = partial(
          config.idleConf.GetHighlight, theme="IDLE Classic"
      )
      for tag, colors in self.color.tagdefs.items():
          with self.subTest(tag=tag):
              self.assertIn("background", colors)
              self.assertIn("foreground", colors)
              if tag not in ("SYNC", "TODO"):
                  self.assertEqual(
                      colors, highlight(element=tag.lower())
                  )
  
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 6 for calling the ColorDelegatorTest obj's underlying member method code with example usage: obj.test_LoadTagDefs() without return types