Lines Matching refs:cls
21 def setUpClass(cls):
23 cls.root = Tk()
24 cls.root.withdraw()
25 cls.editwin = EditorWindow(root=cls.root)
26 cls.io = iomenu.IOBinding(cls.editwin)
29 def tearDownClass(cls):
30 cls.io.close()
31 cls.editwin._close()
32 del cls.editwin
33 cls.root.update_idletasks()
34 for id in cls.root.tk.call('after', 'info'):
35 cls.root.after_cancel(id) # Need for EditorWindow.
36 cls.root.destroy()
37 del cls.root