From b2302b970692eadf1b509ed6c9dfbd1bb70aff54 Mon Sep 17 00:00:00 2001 From: Paul McCarthy <pauldmccarthy@gmail.com> Date: Wed, 10 Oct 2018 12:53:41 +0100 Subject: [PATCH] RF: Avoid deprecation warning --- tests/test_idle.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_idle.py b/tests/test_idle.py index afa45b5ad..13a8e3c98 100644 --- a/tests/test_idle.py +++ b/tests/test_idle.py @@ -89,7 +89,7 @@ def _wait_for_idle_loop_to_clear(): idle.idle(busywait) while not idleDone[0]: - wx.Yield() + wx.GetApp().Yield() @pytest.mark.wxtest -- GitLab