(cls)
| 397 | |
| 398 | @classmethod |
| 399 | def setUpClass(cls): |
| 400 | requires('gui') |
| 401 | |
| 402 | cls.root = root = tk.Tk() |
| 403 | root.withdraw() |
| 404 | |
| 405 | fix_scaling(root) |
| 406 | fixwordbreaks(root) |
| 407 | fix_x11_paste(root) |
| 408 | |
| 409 | cls.flist = flist = PyShellFileList(root) |
| 410 | # See #43981 about macosx.setupApp(root, flist) causing failure. |
| 411 | root.update_idletasks() |
| 412 | |
| 413 | cls.init_shell() |
| 414 | |
| 415 | @classmethod |
| 416 | def tearDownClass(cls): |
nothing calls this directly
no test coverage detected