code: def setUpClass(cls):
      requires("gui")
      cls.root = Tk()
      cls.root.withdraw()
      cls.text = Text(cls.root)
      cls.editwin = DummyEditwin(cls.text)
  
file_path: catboost/contrib/tools/python/src/Lib/idlelib/idle_test/test_hyperparser.py
imports: import unittest
  from test.test_support import requires
  from Tkinter import Tk, Text
  from idlelib.EditorWindow import EditorWindow
  from idlelib.HyperParser import HyperParser
label_desc: Use image node_id 1 for calling the HyperParserTest obj's underlying member method code with example usage: obj.setUpClass(cls) without return types