code: def test_widget_destroy(self):
      var = tkinter.StringVar(self.root)
      optmenu = ttk.OptionMenu(self.root, var)
      name = var._name
      optmenu.update_idletasks()
      optmenu.destroy()
      self.assertEqual(optmenu.tk.globalgetvar(name), var.get())
      del var
      self.assertRaises(tkinter.TclError, optmenu.tk.globalgetvar, name)
  
imports: import sys
  import unittest
  import Tkinter
  import ttk
  from test.test_support import requires, run_unittest, swap_attr
  from test_ttk.support import AbstractTkTest, destroy_default_root
label_desc: Use image node_id 3 for calling the OptionMenuTest obj's underlying member method code with example usage: obj.test_widget_destroy() without return types