]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-69134: Harden NotebookTest.test_traversal (GH-153403)
authorSerhiy Storchaka <storchaka@gmail.com>
Thu, 9 Jul 2026 09:54:13 +0000 (12:54 +0300)
committerGitHub <noreply@github.com>
Thu, 9 Jul 2026 09:54:13 +0000 (09:54 +0000)
commit53b04980284b668c27fc6d5adb0de19d38efe95b
treeb77761fdc7b3619c26ac6d606ef007c00a0248df
parentf3fd9dc8d633a776439128fcc8de2b191fd94906
gh-69134: Harden NotebookTest.test_traversal (GH-153403)

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).

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