]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.15] gh-151678: Add tests for tkinter.Listbox (GH-151686) (GH-151712)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 19 Jun 2026 09:30:55 +0000 (11:30 +0200)
committerGitHub <noreply@github.com>
Fri, 19 Jun 2026 09:30:55 +0000 (09:30 +0000)
commit1495415cb4e64fe1b461fedbaee6c038c86fdbd3
treeb09dd0e548f122a06e0e5230271cf9525a7c09de
parentcfe461944dac8e40e21ebc5bca8b73420c78527e
[3.15] gh-151678: Add tests for tkinter.Listbox (GH-151686) (GH-151712)

Cover previously-untested Listbox methods in ListboxTest: size, delete,
index resolution, nearest, see, activate, and the selection methods
(selection_set/clear/includes/anchor and their select_* aliases),
including the errors raised for invalid indices.
(cherry picked from commit cf3b3c11485a870d8e8c02579bed27a316838eb1)

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_widgets.py