]> granicus.if.org Git - python/commit
bpo-30779: IDLE -- Factor ConfigChanges class from configdialog, put in config; test...
authorterryjreedy <tjreedy@udel.edu>
Fri, 7 Jul 2017 20:00:57 +0000 (16:00 -0400)
committerGitHub <noreply@github.com>
Fri, 7 Jul 2017 20:00:57 +0000 (16:00 -0400)
commit349abd9e37dfdc077bc21f19e6ed2292c767f0e8
treee06b11bc6d966506180914fbd928463867203265
parent1881befb905553618f1e7ad2cef8f6ff07e1b8ef
bpo-30779: IDLE -- Factor ConfigChanges class from configdialog, put in config; test. (#2612)

* 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.
Lib/idlelib/config.py
Lib/idlelib/configdialog.py
Lib/idlelib/idle_test/test_config.py
Lib/idlelib/idle_test/test_configdialog.py