(cls)
| 394 | |
| 395 | @classmethod |
| 396 | def setUpClass(cls): |
| 397 | requires('gui') |
| 398 | cls.root = Tk() |
| 399 | cls.root.withdraw() |
| 400 | cls.text = Text(cls.root) |
| 401 | cls.text.undo_block_start = mock.Mock() |
| 402 | cls.text.undo_block_stop = mock.Mock() |
| 403 | cls.editor = DummyEditwin(cls.root, cls.text) |
| 404 | cls.formatter = ft.FormatRegion(cls.editor) |
| 405 | |
| 406 | @classmethod |
| 407 | def tearDownClass(cls): |
nothing calls this directly
no test coverage detected