bpo-30993: IDLE - Improve configdialog font page and tests. (#2831) · python/cpython@77e97ca · GitHub
Skip to content

Commit 77e97ca

Browse files
authored
bpo-30993: IDLE - Improve configdialog font page and tests. (#2831)
In configdialog: Document causal pathways in create_font_tab docstring. Simplify some attribute names. Move set_samples calls to var_changed_font (idea from Cheryl Sabella). Move related functions to positions after the create widgets function. In test_configdialog: Fix test_font_set so not order dependent. Fix renamed test_indent_scale so it tests the widget. Adjust tests for movement of set_samples call. Add tests for load functions. Put all font tests in one class and tab indent tests in another. Except for two lines, these tests completely cover the related functions.
1 parent 26248ef commit 77e97ca

3 files changed

Lines changed: 216 additions & 201 deletions

File tree

Lib/idlelib/configdialog.py

Lines changed: 105 additions & 116 deletions

0 commit comments

Comments
 (0)