FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.13] gh-151678: Add tests for the remaining tkinter widgets (GH-151687) by serhiy-storchaka · Pull Request #151727 · python/cpython · GitHub

Repository navigation

[3.13] gh-151678: Add tests for the remaining tkinter widgets (GH-151687) - #151727

Merged
serhiy-storchaka merged 1 commit into
python:3.13from
serhiy-storchaka:backport-93b9e76-3.13
Jun 19, 2026
Merged

serhiy-storchaka merged 1 commit into
python:3.13from
serhiy-storchaka:backport-93b9e76-3.13

Conversation

serhiy-storchaka commented Jun 19, 2026 •
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Member

Cover previously-untested methods of several widgets:

  • Button, Checkbutton and Radiobutton: invoke, flash and toggle;
  • Entry: delete, icursor and the select_* aliases;
  • Spinbox: invoke, identify and scan;
  • Scale and Scrollbar: identify, and Scrollbar fraction and delta;
  • PanedWindow: panes, remove/forget, sash and proxy positioning, identify, and adding panes with configuration options.

Also test that invoke does nothing for a disabled button and the errors raised for invalid indices, coordinates, option names and values. (cherry picked from commit 93b9e76)

…ythonGH-151687)

Cover previously-untested methods of several widgets:

* Button, Checkbutton and Radiobutton: invoke, flash and toggle;
* Entry: delete, icursor and the select_* aliases;
* Spinbox: invoke, identify and scan;
* Scale and Scrollbar: identify, and Scrollbar fraction and delta;
* PanedWindow: panes, remove/forget, sash and proxy positioning,
  identify, and adding panes with configuration options.

Also test that invoke does nothing for a disabled button and the
errors raised for invalid indices, coordinates, option names and values.
(cherry picked from commit 93b9e76)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
serhiy-storchaka merged commit a8252d5 into python:3.13 Jun 19, 2026
42 checks passed
serhiy-storchaka deleted the backport-93b9e76-3.13 branch July 1, 2026 16:46
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL