code: def setUpClass(cls):
      from idlelib.idle_test.mock_tk import Text
  
      cls.Text = Text
  
imports: import unittest
  from test.support import requires
  from _tkinter import TclError
label_desc: Use image node_id 1 for calling the MockTextTest obj's underlying member method code with example usage: obj.setUpClass(cls) without return types