code: def tearDownModule():
      # Restore 'just in case', though other tests should also replace.
      se.BooleanVar = BooleanVar
      se.StringVar = StringVar
      se.tkMessageBox = tkMessageBox
  
imports: import re
  import unittest
  from Tkinter import BooleanVar, StringVar, TclError
  import tkMessageBox
  from idlelib import SearchEngine
  from idlelib.idle_test.mock_tk import Var, Mbox
  from idlelib.idle_test.mock_tk import Text
label_desc: Use image node_id 2 for calling a global function with example usage: tearDownModule() without return types