]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.15] gh-153380: Adapt ttk tests to Tk 9.1 changes (GH-153381) (GH-153386)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 9 Jul 2026 06:43:55 +0000 (08:43 +0200)
committerGitHub <noreply@github.com>
Thu, 9 Jul 2026 06:43:55 +0000 (06:43 +0000)
commitdd3770610b7ea015b4428c10593f34eeae7d9fd2
tree306d3a51e5a382162b1a1bb54920d659a937dab3
parent3e19df0e05c076e66f7534fee23bae388fa3e801
[3.15] gh-153380: Adapt ttk tests to Tk 9.1 changes (GH-153381) (GH-153386)

- 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