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

[3.14] gh-151678: Add tests for tkinter Misc, Wm and geometry manager methods (GH-151732) by miss-islington · Pull Request #151738 · python/cpython · GitHub

Repository navigation

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

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

serhiy-storchaka merged 2 commits into
python:3.14from
miss-islington:backport-23793ac-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 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>
serhiy-storchaka enabled auto-merge (squash) June 19, 2026 15:44
serhiy-storchaka merged commit c843def into python:3.14 Jun 19, 2026
45 checks passed
miss-islington deleted the backport-23793ac-3.14 branch June 19, 2026 16:08
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