Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upbpo-30780: Add IDLE configdialog tests #3592
Conversation
This comment has been minimized.
This comment has been minimized.
I removed the " needs backport to 3.6" label, the 3.6 branch no longer accept bugfixes (only security fixes are accepted): https://devguide.python.org/#status-of-python-branches |
This comment has been minimized.
This comment has been minimized.
I fixed the overt conflicts with the web editor. I fixed the failure on my local branch. I forgot that patch can only be used to temporarily replace existing attribute, not temporarily add new attribute. I intend to add context manager to idle_test.mock_idle for the latter, so we don't have to explicitly delete when instance is persistent across tests, as dialog is. I am now reviewing other tests and will add blurb and NEWS.txt items and update coverage when ready to commit. |
I still need to look at the new test_delete_custom_theme/keys code. |
Will merge when CI passes again. |
theme_name2 = 'other theme' | ||
idleConf.userCfg['highlight'].SetOption(theme_name2, 'name', 'value') | ||
highpage[theme_name2] = {'option': 'False'} | ||
|
This comment has been minimized.
This comment has been minimized.
terryjreedy
Jan 27, 2020
Member
This and the corresponding additions for keys cover the failure of if not item_list
and the else
clause. I suspect it could be done in fewer lines, but I hope to someday factor out the common code, simpfiy the UI, and redo the tests anyway. So leave the additions alone.
dd023ad
into
python:master
This comment has been minimized.
This comment has been minimized.
bedevere-bot
commented
Jan 27, 2020
@terryjreedy: Please replace |
This comment has been minimized.
This comment has been minimized.
miss-islington
commented
Jan 27, 2020
Thanks @csabella for the PR, and @terryjreedy for merging it |
This comment has been minimized.
This comment has been minimized.
miss-islington
commented
Jan 27, 2020
I'm having trouble backporting to |
This comment has been minimized.
This comment has been minimized.
bedevere-bot
commented
Jan 27, 2020
GH-18218 is a backport of this pull request to the 3.7 branch. |
This comment has been minimized.
This comment has been minimized.
miss-islington
commented
Jan 27, 2020
Thanks @csabella for the PR, and @terryjreedy for merging it |
This comment has been minimized.
This comment has been minimized.
bedevere-bot
commented
Jan 27, 2020
GH-18219 is a backport of this pull request to the 3.8 branch. |
This comment has been minimized.
This comment has been minimized.
Terry, thanks for merging this! |
csabella commentedSep 14, 2017
•
edited by terryjreedy
Expose dialog buttons to test code. Complete coverage for highlight and keys tabs
and for buttons and their functions.
https://bugs.python.org/issue30780