Skip to content

[3.13] gh-151678: Add tests for tkinter Misc, Wm and geometry manager methods (GH-151732)#151739

Merged
serhiy-storchaka merged 2 commits into
python:3.13from
miss-islington:backport-23793ac-3.13
Jun 19, 2026
Merged

[3.13] gh-151678: Add tests for tkinter Misc, Wm and geometry manager methods (GH-151732)#151739
serhiy-storchaka merged 2 commits into
python:3.13from
miss-islington:backport-23793ac-3.13

Conversation

@miss-islington

@miss-islington miss-islington commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Cover previously-untested methods of the Misc, Wm, Pack, Place and Grid
classes:

  • a new WinfoTest class for the winfo_* query methods (class, name,
    parent, children, toplevel, visual and screen information, atoms,
    pointer and screen coordinates, fpixels, containing, interps,
    viewable), including the pre-existing winfo_rgb and winfo_pathname;
  • in MiscTest: getint, getdouble, getvar, register, deletecommand,
    option_add/get/clear, nametowidget, the focus_, grab_ and
    selection_own* methods, event_add/delete/info, and bell;
  • in WmTest: title, geometry, minsize/maxsize, resizable, aspect, grid,
    positionfrom/sizefrom, focusmodel, iconname, client/command,
    overrideredirect, state (with withdraw and deiconify), frame, group,
    protocol and transient;
  • the short-named aliases of the grid_, pack_ and place_* geometry
    manager methods.
    (cherry picked from commit 23793ac)

Co-authored-by: Serhiy Storchaka storchaka@gmail.com
Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com

…methods (pythonGH-151732)

Cover previously-untested methods of the Misc, Wm, Pack, Place and Grid
classes:

* a new WinfoTest class for the winfo_* query methods (class, name,
  parent, children, toplevel, visual and screen information, atoms,
  pointer and screen coordinates, fpixels, containing, interps,
  viewable), including the pre-existing winfo_rgb and winfo_pathname;
* in MiscTest: getint, getdouble, getvar, register, deletecommand,
  option_add/get/clear, nametowidget, the focus_*, grab_* and
  selection_own* methods, event_add/delete/info, and bell;
* in WmTest: title, geometry, minsize/maxsize, resizable, aspect, grid,
  positionfrom/sizefrom, focusmodel, iconname, client/command,
  overrideredirect, state (with withdraw and deiconify), frame, group,
  protocol and transient;
* the short-named aliases of the grid_*, pack_* and place_* geometry
  manager methods.
(cherry picked from commit 23793ac)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@read-the-docs-community

read-the-docs-community Bot commented Jun 19, 2026

Copy link
Copy Markdown

@serhiy-storchaka serhiy-storchaka enabled auto-merge (squash) June 19, 2026 15:44
@serhiy-storchaka serhiy-storchaka merged commit 232764e into python:3.13 Jun 19, 2026
39 checks passed
@miss-islington miss-islington deleted the backport-23793ac-3.13 branch June 19, 2026 16:07
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