code: def setUpClass(cls):
      cls.root = Tk()
      cls.text = Text(cls.root)
      cls.percolator = Percolator(cls.text)
  
file_path: cpython/Lib/idlelib/idle_test/test_undo.py
imports: from idlelib.undo import UndoDelegator
  import unittest
  from test.support import requires
  from unittest.mock import Mock
  from tkinter import Text, Tk
  from idlelib.percolator import Percolator
label_desc: Use image node_id 1 for calling the UndoDelegatorTest obj's underlying member method code with example usage: obj.setUpClass(cls) without return types