]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-153380: Adapt ttk tests to Tk 9.1 changes (GH-153381) (GH-153387)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 10 Jul 2026 19:40:02 +0000 (21:40 +0200)
committerGitHub <noreply@github.com>
Fri, 10 Jul 2026 19:40:02 +0000 (19:40 +0000)
commit467fab9ed30e69c82dcb98a7b7cc062641a724a5
tree53fa1be9956b15ba012857a2e14523637c58bcf2
parent6f931c96093ec77fe5f8770a5e3b76c3963e806f
[3.14] gh-153380: Adapt ttk tests to Tk 9.1 changes (GH-153381) (GH-153387)

- selectmode: new 'single' and 'multiple' modes
- set(): includes the tree column '#0'
- insert()/selection(): item ids keep the passed value's type
- heading_callback: avoid a double click on the second click
- theme_create_image: don't assert the exact (now scaled) width
(cherry picked from commit d6855c8ad00ffa2bee318b510d0e90573dddbbab)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Lib/test/test_ttk/test_style.py
Lib/test/test_ttk/test_widgets.py