]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-42142: Try to fix timeouts in ttk tests (GH-23474)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 30 Nov 2020 08:43:59 +0000 (00:43 -0800)
committerGitHub <noreply@github.com>
Mon, 30 Nov 2020 08:43:59 +0000 (00:43 -0800)
commit03ae7e4518dae6547576c616173106d2eb283ae2
tree016e5d7f27bf8a8bd01cede0e25dd3bf5225a1fb
parent586bdd1add2ca7236e3096ab7167862cf17f0939
bpo-42142: Try to fix timeouts in ttk tests (GH-23474)

Instead of using wait_visibility() which waits event <VisibilityNotify> in dead loop
use update() which should proceed all queued events.
(cherry picked from commit 6cc2c419f6cf5ed336609ba01055e77d7c553e6d)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/tkinter/test/test_ttk/test_extensions.py
Lib/tkinter/test/test_ttk/test_widgets.py