code: def tearDownClass(cls):
      cls.percolator.close()
      del cls.percolator, cls.text
      cls.root.update_idletasks()
      cls.root.destroy()
      del cls.root
  
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 2 for calling the ColorDelegatorTest obj's underlying member method code with example usage: obj.tearDownClass(cls) without return types