code: def setUpModule():
      # Replace s-e module tkinter imports other than non-gui TclError.
      se.BooleanVar = Var
      se.StringVar = Var
      se.messagebox = Mbox
  
imports: from idlelib import searchengine
  import unittest
  from tkinter import BooleanVar, StringVar, TclError
  from tkinter import messagebox
  from idlelib.idle_test.mock_tk import Var, Mbox
  from idlelib.idle_test.mock_tk import Text
  import re
label_desc: Use image node_id 1 for calling a global function with example usage: setUpModule() without return types