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

[3.14] gh-151678: Add tests for the remaining tkinter widgets (GH-151687) by miss-islington · Pull Request #151726 · python/cpython · GitHub

Repository navigation

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

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

serhiy-storchaka merged 1 commit into
python:3.14from
miss-islington:backport-93b9e76-3.14

Conversation

miss-islington commented Jun 19, 2026 •
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Contributor

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

…H-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>
bedevere-app Bot added the tests Tests in the Lib/test dir label Jun 19, 2026
serhiy-storchaka enabled auto-merge (squash) June 19, 2026 10:26
serhiy-storchaka merged commit 971fd70 into python:3.14 Jun 19, 2026
51 checks passed
miss-islington deleted the backport-93b9e76-3.14 branch June 19, 2026 10:50
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.

2 participants


Back | FazBrowse Home | New Git URL