]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-69134: Wait until mapped in SimpleDialog keyboard tests (GH-152690) (GH...
authorSerhiy Storchaka <storchaka@gmail.com>
Sun, 5 Jul 2026 11:35:04 +0000 (14:35 +0300)
committerGitHub <noreply@github.com>
Sun, 5 Jul 2026 11:35:04 +0000 (11:35 +0000)
commit18735fdbea61248919106d9d3d9428e1552ea62a
tree8c7a847d7d7f324a8b4ac5aad29e26cf652ba571
parentb4c1adad96cc303d097781dc574d7d293c0aafec
[3.13] gh-69134: Wait until mapped in SimpleDialog keyboard tests (GH-152690) (GH-153106)

The SimpleDialog keyboard tests generate key events after focus_force(),
which on Windows are dropped until the toplevel is mapped, so they could
fail intermittently (seen on the Windows10 buildbot as
test_return_no_default).  Wait until the window is mapped in these tests,
as GH-152599 did for the other keyboard tests.

(cherry picked from commit 7d619c2fea131722d0bfdad150c081c44cc0abd7)

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