bpo-30779: IDLE -- Factor ConfigChanges class from configdialog, put … · python/cpython@349abd9 · GitHub
Skip to content

Commit 349abd9

Browse files
authored
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.
1 parent 1881bef commit 349abd9

4 files changed

Lines changed: 277 additions & 171 deletions

File tree

Lib/idlelib/config.py

Lines changed: 119 additions & 21 deletions

0 commit comments

Comments
 (0)