]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.15] gh-151678: Add interactive tests for tkinter.simpledialog (GH-151794) (GH...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 21 Jun 2026 16:54:36 +0000 (18:54 +0200)
committerGitHub <noreply@github.com>
Sun, 21 Jun 2026 16:54:36 +0000 (16:54 +0000)
commitf43f4384cce232003099fb6a1303f476f9e641c4
tree008e3d4df9caeec57b45cd337039c78749553057
parentaa83ca3ec884d37a03910e76242d80ae045c80e3
[3.15] gh-151678: Add interactive tests for tkinter.simpledialog (GH-151794) (GH-151802)

Drive the modal query dialogs with generated events to exercise the
<Return> and <Escape> key bindings and the value validation: accepting
an integer, float or string, cancelling, rejecting a non-numeric value
and rejecting a value outside the allowed range.
(cherry picked from commit 706238e764169dd36f918a0541adf9687cc3f296)

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