]> granicus.if.org Git - python/commit
[3.6] bpo-30779: IDLE -- Factor ConfigChanges class from configdialog, put in config...
authorterryjreedy <tjreedy@udel.edu>
Fri, 7 Jul 2017 20:37:39 +0000 (16:37 -0400)
committerGitHub <noreply@github.com>
Fri, 7 Jul 2017 20:37:39 +0000 (16:37 -0400)
commitedc034221f878b437748cef0f05c782d8190499d
treea02c308981413d350c35ef285ec87f19f9ced29d
parent05b72ede95521b2d897cb4c7b034139b5437c592
[3.6] bpo-30779: IDLE -- Factor ConfigChanges class from configdialog, put in config; test. (GH-2612) (#2625)

* In config, put dump test code in a function; run it and unittest in 'if __name__ == '__main__'.
* Add class config.ConfigChanges based on changes_class_v4.py on bpo issue.
* Add class test_config.ChangesTest, partly based on configdialog_tests_v1.py on bpo issue.
* Revise configdialog to use ConfigChanges, mostly as specified in tracker msg297804.
* Revise test_configdialog to match configdialog changes.  All tests pass in both files.
* Remove configdialog functions unused or moved to ConfigChanges.
Cheryl Sabella contributed parts of the patch.
(cherry picked from commit 349abd9)
Lib/idlelib/config.py
Lib/idlelib/configdialog.py
Lib/idlelib/idle_test/test_config.py
Lib/idlelib/idle_test/test_configdialog.py