]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] 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:17:04 +0000 (16:17 +0200)
committerGitHub <noreply@github.com>
Sat, 20 Jun 2026 14:17:04 +0000 (14:17 +0000)
commit80c9fe2a96bbd8df343f8d37cd160b5695d58442
treee38e4efbe76cabf31873aae386764cf2fa3b4387
parent2b32dedeff53295f32f740c929f912c107f9cc02
[3.14] gh-151678: Add interactive tests for tkinter.simpledialog (GH-151794) (GH-151803)

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