code: def tearDownModule():
      # Restore 'just in case', though other tests should also replace.
      se.BooleanVar = BooleanVar
      se.StringVar = StringVar
      se.messagebox = messagebox
  
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 2 for calling a global function with example usage: tearDownModule() without return types