diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2017-07-24 04:18:25 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-24 04:18:25 (GMT) |
commit | 77e97ca9ff6f3dbbf98b89b4103c46b43eef5642 (patch) | |
tree | ff0c6193b7f9bdc1220b1d457b00a4397238d25d /Misc/NEWS.d/next/IDLE | |
parent | 26248ef58dcf49619930ffa2e050ffa687a88601 (diff) | |
download | cpython-77e97ca9ff6f3dbbf98b89b4103c46b43eef5642.zip cpython-77e97ca9ff6f3dbbf98b89b4103c46b43eef5642.tar.gz cpython-77e97ca9ff6f3dbbf98b89b4103c46b43eef5642.tar.bz2 |
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.
Diffstat (limited to 'Misc/NEWS.d/next/IDLE')
-rw-r--r-- | Misc/NEWS.d/next/IDLE/2017-07-22-18-08-41.bpo-30993.34vJkB.rst | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Misc/NEWS.d/next/IDLE/2017-07-22-18-08-41.bpo-30993.34vJkB.rst b/Misc/NEWS.d/next/IDLE/2017-07-22-18-08-41.bpo-30993.34vJkB.rst index 8eab703..04c9434 100644 --- a/Misc/NEWS.d/next/IDLE/2017-07-22-18-08-41.bpo-30993.34vJkB.rst +++ b/Misc/NEWS.d/next/IDLE/2017-07-22-18-08-41.bpo-30993.34vJkB.rst @@ -1,6 +1,5 @@ IDLE - Improve configdialog font page and tests. -* Document causal pathways in docstring. * Simplify some attribute names. * -Rename test_bold_toggle_set_samples to make test_font_set fail. * Fix -test_font_set so not order dependent. * Fix renamed test_indent_scale so it -tests the widget. +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. |