]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-153513: Remove obsolete Tk version guards in tkinter tests (GH-153615)
authorSerhiy Storchaka <storchaka@gmail.com>
Sun, 12 Jul 2026 15:27:10 +0000 (18:27 +0300)
committerGitHub <noreply@github.com>
Sun, 12 Jul 2026 15:27:10 +0000 (18:27 +0300)
commit832bc0b0ea20c2fade5d764e084a2caa09f09dd6
tree76e47455298a66a75c44522aa52a658be7a1b27f
parentdd2faeb33d5fa0d2635b91ece6eaebd34c61408c
gh-153513: Remove obsolete Tk version guards in tkinter tests (GH-153615)

Since gh-153513, _tkinter returns int, float and pixel objects for the
corresponding Tcl object types on all Tk versions.  The tests for the
Text "tabs" and ttk "padding" options therefore no longer need to expect
string tuples on Tk older than 8.6.14.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Lib/test/test_tkinter/test_widgets.py
Lib/test/test_ttk/test_widgets.py