summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/idle_test
Commit message (Collapse)AuthorAgeFilesLines
...
* bpo-27452: IDLE: Cleanup config.py code (GH-14577) (GH-14802)Miss Islington (bot)2019-07-161-13/+0
| | | | | (cherry picked from commit f8d4cc7dbbf54b9c5435c3080582a4aa421a067d) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
* bpo-36390: simplify classifyws(), rename it and add unit tests (GH-14500)Miss Islington (bot)2019-07-111-0/+61
| | | | | (cherry picked from commit 9b5ce62cac27fec9dea473865d79c2c654312957) Co-authored-by: Tal Einat <taleinat@gmail.com>
* bpo-26806: IDLE should run without docstrings (GH-14657) (GH-14677)Miss Islington (bot)2019-07-091-0/+8
| | | | | | After fcf1d00, IDLE startup failed with python compiled without docstrings. (cherry picked from commit 6aeb2fe606408aae14c246470794f1303b3be812) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-26806: add 30 to the recursion limit in IDLE's shell (GH-13944)Miss Islington (bot)2019-07-061-0/+33
| | | | | | | | | | | This is done to compensate for the extra stack frames added by IDLE itself, which cause problems when setting the recursion limit to low values. This wraps sys.setrecursionlimit() and sys.getrecursionlimit() as invisibly as possible. (cherry picked from commit fcf1d003bf4f0100c9d0921ff3d70e1127ca1b71) Co-authored-by: Tal Einat <taleinat+github@gmail.com>
* bpo-37325: Fix focus traversal for 2 IDLE dialogs (GH-14209)Miss Islington (bot)2019-06-181-2/+3
| | | | | | Tab now moves focus across and down for Help Source and Custom Run. (cherry picked from commit 54cf2e0780ca137dd9abea5d3d974578ce0c18a9) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-5680: IDLE: Customize running a module (GH-13763)Miss Islington (bot)2019-06-182-27/+87
| | | | | | The initialize options are 1) add command line options, which are appended to sys.argv as if passed on a real command line, and 2) skip the shell restart. The customization dialog is accessed by a new entry on the Run menu. (cherry picked from commit 201bc2d18b60adb05810d2a6ab396047bc527088) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
* bpo-37220: Fix 2.7 test -R crash on Windows. (GH-13957)Miss Islington (bot)2019-06-161-2/+2
| | | | | | The patch needed for 2.7 should make the test more stable on 3.x also. (cherry picked from commit 66d47da86aff15be34adbec02596bb3188684c0d) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* IDLE: Standardize naming convention for DummyEditwin in tests (GH-13876) ↵Miss Islington (bot)2019-06-071-2/+2
| | | | | | | | (#13885) * Change from Dummy_Editwin to DummyEditwin to match other tests. (cherry picked from commit 7f8a38a7c47823c17adab469fcb4f762f4e945b7) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
* bpo-37177: make IDLE's search dialogs transient (GH-13869)Miss Islington (bot)2019-06-071-5/+6
| | | | | | This avoids the search dialogs being hidden behind the editor window. (cherry picked from commit 554450fb4e95066e825bdb4a2d544a490daeebdc) Co-authored-by: Tal Einat <taleinat@gmail.com>
* bpo-35763: Make IDLE calltip note about '/' less obtrusive (GH-13791)Miss Islington (bot)2019-06-051-57/+63
| | | | | | Add it to the end of the first line if there is room. Tests were reworked. (cherry picked from commit 949fe976d5c62ae63ed505ecf729f815d0baccfc) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* IDLE: Fix typos in docs and comments (GH-13749)Xtreak2019-06-033-3/+3
|
* bpo-35610: IDLE - Replace .context_use_ps1 with .prompt_last_line (GH-11307)Cheryl Sabella2019-06-023-5/+5
| | | | Changes in bpo- 31858 made the less informative 'context_use_ps1' redundant.
* bpo-32411: IDLE: Remove line number sort in browser.py (#5011)Cheryl Sabella2019-06-011-14/+14
| | | Insertion in line order makes sorting keys by line order unneeded.
* IDLE - Capitalize search dialogs' 'Close' button label. (#13691)Terry Jan Reedy2019-05-311-1/+2
| | | | It seems to be the only widget label not capitalized.
* bpo-36766: Typos in docs and code comments (GH-13116)penguindustin2019-05-061-1/+1
|
* bpo-30348: IDLE: Add test_autocomplete unittest (GH-2209)Louie Lu2019-03-241-21/+119
|
* bpo-36405: IDLE - Restore __main__ and add tests (#12518)Terry Jan Reedy2019-03-241-3/+8
| | | | Fix error in commit 2b75155 noticed by Serhiy Storchaka.
* bpo-23205: IDLE: Add tests and refactor grep's findfiles (GH-12203)Cheryl Sabella2019-03-231-11/+81
| | | | | | | | | | | | | * Add tests for grep findfiles. * Move findfiles to module function. * Change findfiles to use os.walk. Based on a patch by Al Sweigart.
* bpo-36396: Remove fgBg param of idlelib.config.GetHighlight() (GH-12491)Terry Jan Reedy2019-03-222-29/+20
| | | | This param was only used once and changed the return type.
* bpo-36096: IDLE: Refactor class variables in colorizer (GH-12002)Cheryl Sabella2019-02-271-10/+42
|
* bpo-35689: IDLE: Add docstrings and unittests for colorizer.py (GH-11472)Cheryl Sabella2019-02-191-10/+348
|
* bpo-35683: Improve Azure Pipelines steps (GH-11493)Steve Dower2019-01-221-0/+2
|
* bpo-35730: IDLE - test squeezer reload() by checking load_font() (GH-11585)Tal Einat2019-01-181-7/+3
|
* bpo-35730: Disable IDLE test_reload assertion. (GH-11543)Terry Jan Reedy2019-01-131-1/+3
| | | | IDLE's test_squeezer.SqueezerTest.test_reload, added for issue 35196, failed on both Gentoo buildbots.
* bpo-35196: Optimize Squeezer's write() interception (GH-10454)Tal Einat2019-01-131-177/+134
| | | | The new functionality of Squeezer.reload() is also tested, along with some general re-working of the tests in test_squeezer.py.
* bpo-35641: IDLE - format calltip properly when no docstring (GH-11415)Emmanuel Arias2019-01-031-0/+29
|
* bpo-33987: IDLE - use ttk Frame for ttk widgets (GH-11395)Terry Jan Reedy2019-01-031-3/+5
|
* bpo-35598: IDLE - Globalize some config_key objects (GH-11392)Cheryl Sabella2018-12-311-19/+22
| | | | | Move translate_key() and constant tuples to module level. Inline the remnant one-line function.
* 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.