]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-151678: Add interactive tests for tkinter.simpledialog (GH-151794) (GH...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 20 Jun 2026 14:13:18 +0000 (16:13 +0200)
committerGitHub <noreply@github.com>
Sat, 20 Jun 2026 14:13:18 +0000 (17:13 +0300)
commitb9bd1482a5c5a1669a503310b2c4a7460ae88e70
treec98cb578c9b827df81ae5430d889a61140b5656f
parent90bbdec418c325bb0e735eb36cd129ba870812f6
[3.13] gh-151678: Add interactive tests for tkinter.simpledialog (GH-151794) (GH-151804)

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