]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-151678: Add interactive tests for tkinter.simpledialog (GH-151794)
authorSerhiy Storchaka <storchaka@gmail.com>
Sat, 20 Jun 2026 13:46:39 +0000 (16:46 +0300)
committerGitHub <noreply@github.com>
Sat, 20 Jun 2026 13:46:39 +0000 (13:46 +0000)
commit706238e764169dd36f918a0541adf9687cc3f296
treed2245a5f6f9d2112cdfcafaf2f6d1e3b244d2c3b
parentaa71eb287f6d812e5270109acb9119c2ad0baef9
gh-151678: Add interactive tests for tkinter.simpledialog (GH-151794)

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.

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