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

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