Skip to content

[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

[3.13] gh-151678: Add tests for the remaining tkinter widgets (GH-151687)#151727
serhiy-storchaka merged 1 commit into
python:3.13from
serhiy-storchaka:backport-93b9e76-3.13

Conversation

@serhiy-storchaka

@serhiy-storchaka serhiy-storchaka commented Jun 19, 2026

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 serhiy-storchaka merged commit a8252d5 into python:3.13 Jun 19, 2026
42 checks passed
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