(cls)
| 270 | |
| 271 | @classmethod |
| 272 | def setUpClass(cls): |
| 273 | requires('gui') |
| 274 | cls.root = Tk() |
| 275 | cls.root.withdraw() |
| 276 | editor = Editor(root=cls.root) |
| 277 | cls.text = editor.text.text # Test code does not need the wrapper. |
| 278 | cls.formatter = ft.FormatParagraph(editor).format_paragraph_event |
| 279 | # Sets the insert mark just after the re-wrapped and inserted text. |
| 280 | |
| 281 | @classmethod |
| 282 | def tearDownClass(cls): |