]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-151678: Add tests for tkinter Misc, Wm and geometry manager methods (GH...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 19 Jun 2026 16:07:18 +0000 (18:07 +0200)
committerGitHub <noreply@github.com>
Fri, 19 Jun 2026 16:07:18 +0000 (16:07 +0000)
commit232764e6078b7d6b21931a71cb22b2a226a365d4
treeb335ee8d9e97bb261bccc83f294e6421cfd7739c
parentcc7043de99aaa9d68dec5afdb03520abb330ca6c
[3.13] gh-151678: Add tests for tkinter Misc, Wm and geometry manager methods (GH-151732) (GH-151739)

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 23793ac211371415eaf9491fef031f121969dfb3)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Lib/test/test_tkinter/test_geometry_managers.py
Lib/test/test_tkinter/test_misc.py