code: def setUpClass(cls):
      requires("gui")
      cls.root = Tk()
      cls.root.withdraw()
  
file_path: cpython/Lib/idlelib/idle_test/template.py
imports: from idlelib import zzdummy
  import unittest
  from test.support import requires
  from tkinter import Tk
label_desc: Use image node_id 1 for calling the Test obj's underlying member method code with example usage: obj.setUpClass(cls) without return types