code: def main(initialTestName=""):
      root = tk.Tk()
      root.title("PyUnit")
      runner = TkTestRunner(root, initialTestName)
      root.protocol("WM_DELETE_WINDOW", root.quit)
      root.mainloop()
  
imports: import sys
  import traceback
  import unittest
  import tkinter
  from tkinter import messagebox
  from tkinter import filedialog
  from tkinter import simpledialog
label_desc: Use image node_id 1 for calling a global function with example usage: main(initialTestName) without return types