code: def setUpClass(cls):
      requires("gui")
      cls.root = Tk()
      cls.root.withdraw()
      cls.editwin = EditorWindow(root=cls.root)
      cls.io = iomenu.IOBinding(cls.editwin)
  
file_path: cpython/Lib/idlelib/idle_test/test_iomenu.py
imports: from idlelib import iomenu
  import unittest
  from test.support import requires
  from tkinter import Tk
  from idlelib.editor import EditorWindow
  from idlelib import util
  from idlelib.idle_test.mock_idle import Func
  from tokenize import open, detect_encoding
label_desc: Use image node_id 1 for calling the IOBindingTest obj's underlying member method code with example usage: obj.setUpClass(cls) without return types