summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/idle_test
Commit message (Collapse)AuthorAgeFilesLines
...
* bpo-35598: IDLE: Switch config_key dialog to ttk widgets (GH-11365)Cheryl Sabella2018-12-301-4/+4
|
* bpo-35598: IDLE: Increase test coverage for config_key.py (#11360)Cheryl Sabella2018-12-301-3/+192
|
* bpo-35598: IDLE: Update config_key.py with PEP8 names (GH-11330)Cheryl Sabella2018-12-282-26/+25
| | | A few other changes make the code easier to follow.
* bpo-35208: Fix IDLE Squeezer line counting (GH-10449)Tal Einat2018-12-241-0/+23
|
* bpo-22703: IDLE: Improve Code Context and Zoom Height menu labels (GH-11214)Cheryl Sabella2018-12-221-0/+6
| | | | | | | | The Code Context menu label now toggles between Show/Hide Code Context. The Zoom Height menu now toggles between Zoom/Restore Height. Zoom Height has moved from the Window menu to the Options menu. https://bugs.python.org/issue22703
* bpo-35202: Remove more unused imports in idlelib (GH-10573)Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి)2018-11-174-4/+3
|
* bpo-35202: Remove unused imports in idlelib (GH-10438)Srinivas Thatiparthy (శ్రీనివాస్ తాటిపర్తి)2018-11-103-3/+0
|
* bpo-35133: Fix mistakes when concatenate string literals on different lines. ↵Serhiy Storchaka2018-11-052-5/+5
| | | | | | | | | | (GH-10284) Two kind of mistakes: 1. Missed space. After concatenating there is no space between words. 2. Missed comma. Causes unintentional concatenating in a list of strings.
* bpo-1529353: IDLE: squeeze large output in the shell (GH-7626)Tal Einat2018-09-254-6/+518
|
* bpo-33839: refactor IDLE's tooltips & calltips, add docstrings and tests ↵Tal Einat2018-08-053-1/+150
| | | | | | | | (GH-7683) * make CallTip and ToolTip sub-classes of a common abstract base class * remove ListboxToolTip (unused and ugly) * greatly increase test coverage * tested on Windows, Linux and macOS
* bpo-33975: Avoid small type when running IDLE's htests. (GH-7944)Terry Jan Reedy2018-06-271-0/+1
| | | | | | | | | Import pyshell first in htest to call SetProcessDpiAwareness on Windows before tkinter.Tk() is called for the htest. Apparently, 'root.destroy()' undoes a previous 'root = Tk()'. Since IDLE unittests always destroy roots, a unittest before an htest does not require anything more to work right. Since part of the purpose of human-viewed tests is to determine that widgets look right, it is important that they look the same for testing as when running IDLE.
* bpo-33951: IDLE test_configdialog: call page.update in setUpClass (GH-7892)Tal Einat2018-06-241-0/+4
| | | | | | | This avoids a failure in at least one case when running only a single test method rather than all tests in the module. The issue came up when testing the following on Windows 10 Pro 64-bit: HighPageTest.test_highlight_target_text_mouse
* bpo-33950: Remove IDLE htest spec for a deleted file. (GH-7881)Terry Jan Reedy2018-06-231-10/+0
| | | | In configdialog, the custom tabbedpages widget was replaced by ttk.notebook several months ago.
* bpo-33905: Add test for idlelib.stackview.StackBrowser. (GH-7852)Terry Jan Reedy2018-06-221-9/+20
| | | Increases coverage by 44%.
* bpo-33924: Change IDLE mainmenu.menudefs key 'windows' to 'window' (GH-7836)Terry Jan Reedy2018-06-211-1/+1
| | | | | Every other menudef key is the lowercase version of the corresponding main menu entry (in this case, 'Window').
* bpo-33906: Rename idlelib.windows as window (#7833)Terry Jan Reedy2018-06-212-9/+9
| | | | Match Window on the main menu and remove last plural module name. Change imports, test, and attribute references to match new name.
* bpo-33917: Fix and document idlelib/idle_test/template.py (GH-7830)Terry Jan Reedy2018-06-202-26/+38
| | | | The revised file compiles, runs, and tests OK. idle_test/README.txt explains how to use it to create new IDLE test files.
* bpo-33904: In IDLE's rstrip, rename class RstripExtension as Rstrip (GH-7811)Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి)2018-06-201-2/+2
|
* bpo-33907: Rename an IDLE module and classes. (GH-7810)Terry Jan Reedy2018-06-201-2/+2
| | | | | Fix-up class name duplication in PR #7807. Combined effect is that module calltips and its class CallTips are now calltip and Calltip. In module calltip_w class CallTip is now CalltipWindow.
* bpo-33907: Rename an IDLE module and class. (GH-7807)Terry Jan Reedy2018-06-202-14/+14
| | | | Improve consistency and appearance. Module idlelib.calltips is now calltip. Class idlelib.calltip_w.CallTip is now Calltip.
* bpo-33855: Still more edits and minimal tests for IDLE (GH-7784)Terry Jan Reedy2018-06-1916-63/+284
| | | | | Part 3 of 3, continuing PR #7689. This covers 14 idlelib modules and their tests, rpc to zoomheight except for run (already done) and tooltip (being done separately).
* bpo-33855: More edits and new minimal tests for IDLE (GH-7761)Terry Jan Reedy2018-06-1818-310/+444
| | | | Part 2 of 3. Continues PR #7689, changeset ee5ef30. Edit and add tests for 18 modules, help_about to replace and run.
* bpo-33855: Minimally test all IDLE modules. (GH-7689)Terry Jan Reedy2018-06-1521-84/+366
| | | | 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-33768: IDLE: Clicking on code context line moves it to top of editor ↵Cheryl Sabella2018-06-081-0/+34
| | | | (GH-7411)
* bpo-33763: IDLE: Replace label widget with text widget in code context (GH-7367)Cheryl Sabella2018-06-041-31/+31
|
* bpo-33679: IDLE: Re-enable color configuration for code context (GH-7199)Cheryl Sabella2018-06-021-8/+30
| | | | | | | | | | | | | The difference from before is that the settings are now on the Highlights tab instead of the Extensions tab and only change one theme at a time instead of all themes. The default for light themes is black on light gray, as before. The default for the IDLE Dark theme is white on dark gray, which better fits the dark theme. When one starts IDLE from a console and loads a custom theme without definitions for 'context', one will see a warning message on the console. To stop the warning, go to Options => Configure IDLE => Highlights, select the custom theme if not selected already, select 'Code Context', and select foreground and background colors.
* bpo-33642: IDLE: Use variable number of lines in CodeContext. (GH-7106)Cheryl Sabella2018-06-012-14/+17
| | | | | | | | | | Instead of displaying a fixed number of lines, some blank, Code Context now displays the variable number of actual context lines. When there are no context lines, it shows a single blank line to indicate that the feature is turned on. The Code Context configuration option is changed from 'numlines' (default 3) to 'maxlines' (default 15) to avoid possible interference between user settings for the old and new versions of Code Context.
* bpo-33628: IDLE: Minor code cleanup of codecontext.py and its tests (GH-7085)Cheryl Sabella2018-05-241-19/+20
|
* bpo-32831: IDLE: Add docstrings and tests for codecontext (GH-5638)Cheryl Sabella2018-05-191-0/+347
|
* Fix duplicating words words. (GH-6296)Serhiy Storchaka2018-03-282-2/+2
| | | Most of them have been added in 3.7.
* bpo-32940: IDLE: Simplify StringTranslatePseudoMapping in pyparse (GH-5862)Cheryl Sabella2018-02-281-42/+14
| | | The new code also runs faster.
* bpo-32916: IDLE: Change `str` to `code` in pyparse (GH-5830)Cheryl Sabella2018-02-241-35/+35
| | | Adjust tests and user modules to match.
* bpo-32905: IDLE - remove unused code in pyparse module (GH-5807)Terry Jan Reedy2018-02-221-30/+4
| | | dump is similar to print but less flexible. lastopenbracketpos is now always initialized in _study2, as was stmt_bracketing, so the class settings are not needed. get_last_open_bracket_pos is never called.
* bpo-32874: IDLE: add tests for pyparse (GH-5755)Cheryl Sabella2018-02-221-0/+523
| | | | There are no code changes other than comments and docstrings.
* bpo-32837: IDLE - require encoding argument for textview.view_file. (GH-5646)Terry Jan Reedy2018-02-121-3/+4
| | | | | Using the system and place-dependent default encoding for open() is a bad idea for IDLE's system and location-independent files.
* bpo-32826: Add "encoding=utf-8" to open() in idle_test/test_help_about. ↵Terry Jan Reedy2018-02-121-25/+27
| | | | | | | | (GH-5639) GUI test test_file_buttons() only looks at initial ascii-only lines, but failed on systems where open() defaults to 'ascii' because readline() internally reads and decodes far enough ahead to encounter a non-ascii character in CREDITS.txt.
* Fix idlelib comment typos reported by Mike on pull request 4803. (#4807)Terry Jan Reedy2017-12-122-2/+2
|
* bpo-32100: IDLE: Fix pathbrowser errors; improve tests. (#4484)Cheryl Sabella2017-11-232-16/+77
| | | Patch mostly by Cheryl Sabella
* Fix miscellaneous typos (#4275)luzpaz2017-11-051-2/+2
|
* bpo-31860: Make the font sample in the IDLE font configuration dialog ↵Serhiy Storchaka2017-10-281-3/+3
| | | | | editable. (#4106) Changes persist while IDLE remains open
* bpo-28603: Fix formatting tracebacks for unhashable exceptions (#4014)Zane Bitter2017-10-171-0/+35
|
* bpo-25588: Document autotest in idle_test/README.txt. (#4000)Terry Jan Reedy2017-10-151-1/+10
| | | Follow-up to Victor's patch that enabled autotest to run in IDLE's Shell.
* bpo-30397: Add re.Pattern and re.Match. (#1646)Serhiy Storchaka2017-10-041-1/+1
|
* bpo-31460: Simplify the API of IDLE's Module Browser. (#3842)Terry Jan Reedy2017-09-301-10/+4
| | | | | | Passing a widget instead of an flist with a root widget opens the option of creating a browser frame that is only part of a window. Passing a full file name instead of pieces assumed to come from a .py file opens the possibility of browsing python files that do not end in .py.
* bpo-31459: Rename IDLE's module browser from Class Browser to Module ↵Cheryl Sabella2017-09-232-22/+22
| | | | | | | | | | | Browser. (#3704) The original module-level class and method browser became a module browser, with the addition of module-level functions, years ago. Nested classes and functions were added yesterday. For back- compatibility, the virtual event <<open-class-browser>>, which appears on the Keys tab of the Settings dialog, is not changed. Patch by Cheryl Sabella.
* bpo-31559: Remove test order dependence in idle_test.test_browser. (#3708)Terry Jan Reedy2017-09-231-17/+34
| | | | | Order dependence caused leak-test buildbots to fail when running test_idle repeatedly.
* bpo-1612262: IDLE: Class Browser shows nested functions, classes (#2573)Cheryl Sabella2017-09-221-0/+242
| | | | Original patches for code and tests by Guilherme Polo and Cheryl Sabella, respectively.
* bpo-31488: IDLE - update former extensions when options change. (#3612)Terry Jan Reedy2017-09-161-1/+1
| | | | | When apply changes, call .reload on each class with non-key options. Change ParenMatch so that updates affect current instances.
* bpo-31480: IDLE - fix tests to pass with zzdummy extension disabled. (#3590)Terry Jan Reedy2017-09-142-44/+39
| | | Enabled by default was a temporary expedient. The fix is to add a user override to enable.
* bpo-31462: Remove trailing whitespaces. (#3564)Serhiy Storchaka2017-09-141-1/+1
|