code: def setUpClass(cls):
      cls.root = Tk()
      cls.root.withdraw()
      cls.text = Text(cls.root)
      cls.editwin = DummyEditwin(cls.text)
      cls.editwin.text_frame = Mock()
  
file_path: cpython/Lib/idlelib/idle_test/test_parenmatch.py
imports: from idlelib.parenmatch import ParenMatch
  from test.support import requires
  import unittest
  from unittest.mock import Mock
  from tkinter import Tk, Text
label_desc: Use image node_id 1 for calling the ParenMatchTest obj's underlying member method code with example usage: obj.setUpClass(cls) without return types