]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-151678: Add tests for tkinter Misc, Wm and geometry manager methods (GH-151732) main
authorSerhiy Storchaka <storchaka@gmail.com>
Fri, 19 Jun 2026 14:38:32 +0000 (17:38 +0300)
committerGitHub <noreply@github.com>
Fri, 19 Jun 2026 14:38:32 +0000 (17:38 +0300)
commit23793ac211371415eaf9491fef031f121969dfb3
tree821b228d42c6752bf0b09a6602813f01ae3a669f
parentc4eb3adbb42d781e2ad35bee5621f1c621c6767b
gh-151678: Add tests for tkinter Misc, Wm and geometry manager methods (GH-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.

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