code: def tearDownClass(cls):
      cls.root.update_idletasks()
      for id in cls.root.tk.call("after", "info"):
          cls.root.after_cancel(id)  # Need for EditorWindow.
      cls.root.destroy()
      del cls.root
  
file_path: cpython/Lib/idlelib/idle_test/test_runscript.py
imports: from idlelib import runscript
  import unittest
  from test.support import requires
  from tkinter import Tk
  from idlelib.editor import EditorWindow
label_desc: Use image node_id 2 for calling the ScriptBindingTest obj's underlying member method code with example usage: obj.tearDownClass(cls) without return types