Lines Matching refs:cls
13 def setUpClass(cls): argument
15 cls.root = Tk()
16 cls.root.withdraw()
17 cls.editwin = EditorWindow(root=cls.root)
18 cls.io = iomenu.IOBinding(cls.editwin)
21 def tearDownClass(cls): argument
22 cls.io.close()
23 cls.editwin._close()
24 del cls.editwin
25 cls.root.update_idletasks()
26 for id in cls.root.tk.call('after', 'info'):
27 cls.root.after_cancel(id) # Need for EditorWindow.
28 cls.root.destroy()
29 del cls.root