]> 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:42:56 +0000 (00:42 -0800)
committerGitHub <noreply@github.com>
Mon, 30 Nov 2020 08:42:56 +0000 (00:42 -0800)
commita5b0c17e0d04931e639c4aa7a908a69cd0b529b3
tree4c2484ca10a154af6599fc0f6c61858b1c9c16e0
parentd82e08d185d52086f4d921c08b853c76c80bebbe
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