Lines Matching refs:cls
17 def setUpClass(cls):
19 cls.tk = Tk()
20 cls.text = Text(cls.tk)
21 cls.auto_expand = AutoExpand(DummyEditwin(cls.text))
22 cls.auto_expand.bell = lambda: None
32 ## cls.text = Text()
33 ## cls.text.bell = lambda: None
36 ## cls.tk = Tk()
37 ## cls.text = Text(cls.tk)
40 def tearDownClass(cls):
41 del cls.text, cls.auto_expand
42 if hasattr(cls, 'tk'):
43 cls.tk.destroy()
44 del cls.tk