Commit 5d3d0f42 authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

TEST: Removed more calls to wx.Yield

parent 16834ab6
......@@ -18,7 +18,7 @@ def sendEvent(target, evType, source=None):
source = target
target.ProcessEvent(wx.CommandEvent(evType, source.GetId()))
wx.Yield()
realYield()
# Simple test - programmatically
# set, then retrieve the value
......
......@@ -11,7 +11,7 @@ import pytest
import wx
from . import run_with_wx, simclick
from . import run_with_wx, simclick, realYield
import fsleyes_widgets.bitmapradio as bmpradio
import fsleyes_widgets.bitmaptoggle as bmptoggle
......@@ -97,7 +97,7 @@ def _test_Event():
panel.Layout()
panel.Fit()
wx.Yield()
realYield()
btns = []
for c in rad.GetChildren():
......
......@@ -12,7 +12,7 @@ import tempfile
import fsleyes_widgets.utils.runwindow as runwindow
from . import run_with_wx
from . import run_with_wx, realYield
def _gen_dummy_script():
......@@ -85,7 +85,7 @@ def test_ProcessManager_termProc():
pm.start()
for i in range(2):
wx.Yield()
realYield()
time.sleep(1)
pm.termProc()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment