(self)
| 552 | conf.GetExtraHelpSourceList('default') + conf.GetExtraHelpSourceList('user')) |
| 553 | |
| 554 | def test_get_font(self): |
| 555 | from test.support import requires |
| 556 | from tkinter import Tk |
| 557 | from tkinter.font import Font |
| 558 | conf = self.mock_config() |
| 559 | |
| 560 | requires('gui') |
| 561 | root = Tk() |
| 562 | root.withdraw() |
| 563 | |
| 564 | f = Font.actual(Font(name='TkFixedFont', exists=True, root=root)) |
| 565 | self.assertEqual( |
| 566 | conf.GetFont(root, 'main', 'EditorWindow'), |
| 567 | (f['family'], 10 if f['size'] <= 0 else f['size'], f['weight'])) |
| 568 | |
| 569 | # Cleanup root |
| 570 | root.destroy() |
| 571 | del root |
| 572 | |
| 573 | def test_get_core_keys(self): |
| 574 | conf = self.mock_config() |
nothing calls this directly
no test coverage detected