summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/idle_test/test_config.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-33906: Rename idlelib.windows as window (#7833)Terry Jan Reedy2018-06-211-2/+2
| | | | Match Window on the main menu and remove last plural module name. Change imports, test, and attribute references to match new name.
* bpo-33855: Minimally test all IDLE modules. (GH-7689)Terry Jan Reedy2018-06-151-5/+4
| | | | Create a template for minimally testing a tkinter-using module by importing it and instantiating its class(es). Add a test file for all non-startup IDLE modules. Edit existing files and update coverage. This is part 1 of 3, covering the 21 autocomplete to help modules and touching 33 idlelib files.
* bpo-31480: IDLE - fix tests to pass with zzdummy extension disabled. (#3590)Terry Jan Reedy2017-09-141-44/+38
| | | Enabled by default was a temporary expedient. The fix is to add a user override to enable.
* bpo-27099: IDLE - Convert built-in extensions to regular features (#2494)wohlganger2017-09-101-43/+24
| | | | | | | | | | | | | | | | | | | | | About 10 IDLE features were implemented as supposedly optional extensions. Their different behavior could be confusing or worse for users and not good for maintenance. Hence the conversion. The main difference for users is that user configurable key bindings for builtin features are now handled uniformly. Now, editing a binding in a keyset only affects its value in the keyset. All bindings are defined together in the system-specific default keysets in config- extensions.def. All custom keysets are saved as a whole in config- extension.cfg. All take effect as soon as one clicks Apply or Ok. The affected events are '<<force-open-completions>>', '<<expand-word>>', '<<force-open-calltip>>', '<<flash-paren>>', '<<format-paragraph>>', '<<run-module>>', '<<check-module>>', and '<<zoom-height>>'. Any (global) customizations made before 3.6.3 will not affect their keyset- specific customization after 3.6.3. and vice versa. Inital patch by Charles Wohlganger, revised by Terry Jan Reedy.
* bpo-30968: Fix test_get_font in IDLE's test_config. (#2769)terryjreedy2017-07-201-1/+1
|
* bpo-30917: IDLE: Fix mock_config deepcopy to read_string (#2754)Louie Lu2017-07-191-5/+11
| | | Patch by LouieLu.
* bpo-30917: IDLE: Add config.IdleConf unittests (#2691)Louie Lu2017-07-181-4/+443
| | | | Patch by Louie Lu.
* bpo-30899: Add unittests, 100% coverage, for IDLE's two ConfigParser ↵Louie Lu2017-07-121-4/+165
| | | | | | subclasses. (#2662) Patch by Louie Lu.
* bpo-30779: IDLE: fix changes.delete_section calls in configdialog (#2667)csabella2017-07-111-2/+5
| | | | Also improve test of config.ConfigChanges.delete_section. Original patch by Cheryl Sabella.
* bpo-30779: IDLE -- Factor ConfigChanges class from configdialog, put in ↵terryjreedy2017-07-071-2/+84
| | | | | | | | | | | | 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.
* bpo-29919: Remove unused imports found by pyflakes (#137)Victor Stinner2017-03-271-2/+0
| | | Make also minor PEP8 coding style fixes on modified imports.
* Issue #27821: Fix bug in idlelib.comfig function and add new tests.Terry Jan Reedy2016-08-251-22/+84
|
* Issue #27173: Fix error in test_config that caused test_idle to fail.Terry Jan Reedy2016-07-101-1/+1
|
* Issue #27173: Add 'IDLE Modern Unix' to the built-in key sets.Terry Jan Reedy2016-07-101-0/+98
Make the default key set depend on the platform. Add tests for changes to the config module.