]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.15] gh-69134: Harden NotebookTest.test_traversal (GH-153403) (GH-153408)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 9 Jul 2026 10:27:08 +0000 (12:27 +0200)
committerGitHub <noreply@github.com>
Thu, 9 Jul 2026 10:27:08 +0000 (10:27 +0000)
commit7307d776290d54fc84b246b6b4cdcdcc63397ffa
tree99055ea92deac984106a5914a65c516e088619c0
parentdd3770610b7ea015b4428c10593f34eeae7d9fd2
[3.15] gh-69134: Harden NotebookTest.test_traversal (GH-153403) (GH-153408)

identify(5, 5) could run before the notebook reached its requested size,
so the pixel fell outside the first tab and returned ''.  Guard it with a
new opt-in wait_until_mapped(full_size=True).
(cherry picked from commit 53b04980284b668c27fc6d5adb0de19d38efe95b)

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