]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-69134: Harden NotebookTest.test_traversal (GH-153403) (GH-153409)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 9 Jul 2026 10:21:42 +0000 (12:21 +0200)
committerGitHub <noreply@github.com>
Thu, 9 Jul 2026 10:21:42 +0000 (10:21 +0000)
commitae00bce1d8fa64401f46be9b51de2e08646fe55f
tree08a7f8e3b767ffcee1ed3987b15d5767b15da8c6
parent1248ac9b3433a8e547dd31a72480f718708a4c6a
[3.14] gh-69134: Harden NotebookTest.test_traversal (GH-153403) (GH-153409)

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