Lines Matching refs:cls
28 def setUpClass(cls):
30 cls.root = tk.Tk()
31 cls.root.withdraw()
32 cls.orig_platform = macosx.platform
35 def tearDownClass(cls):
36 cls.root.update_idletasks()
37 cls.root.destroy()
38 del cls.root
39 macosx.platform = cls.orig_platform
83 def setUpClass(cls):
85 cls.root = tk.Tk()
86 cls.root.withdraw()
90 cls.root.createcommand = cmd
93 def tearDownClass(cls):
94 cls.root.update_idletasks()
95 cls.root.destroy()
96 del cls.root