code: def setUpClass(cls):
      requires("gui")
      cls.tk = Tk()
      cls.text = Text(cls.tk)
      cls.auto_expand = AutoExpand(DummyEditwin(cls.text))
      cls.auto_expand.bell = lambda: None
  
file_path: cpython/Lib/idlelib/idle_test/test_autoexpand.py
imports: from idlelib.autoexpand import AutoExpand
  import unittest
  from test.support import requires
  from tkinter import Text, Tk
label_desc: Use image node_id 1 for calling the AutoExpandTest obj's underlying member method code with example usage: obj.setUpClass(cls) without return types