[3.6] bpo-30993: IDLE - Improve configdialog font page and tests. (GH… · python/cpython@1daeb25 · GitHub
Skip to content

Commit 1daeb25

Browse files
authored
[3.6] bpo-30993: IDLE - Improve configdialog font page and tests. (GH-2831) (#2834)
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. (cherry picked from commit 77e97ca)
1 parent f76d1a0 commit 1daeb25

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)