Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
FSL
fsleyes
fsleyes-widgets
Commits
5d3d0f42
Commit
5d3d0f42
authored
Feb 06, 2019
by
Paul McCarthy
🚵
Browse files
TEST: Removed more calls to wx.Yield
parent
16834ab6
Changes
3
Hide whitespace changes
Inline
Side-by-side
tests/test_autotextctrl.py
View file @
5d3d0f42
...
...
@@ -18,7 +18,7 @@ def sendEvent(target, evType, source=None):
source
=
target
target
.
ProcessEvent
(
wx
.
CommandEvent
(
evType
,
source
.
GetId
()))
wx
.
Yield
()
real
Yield
()
# Simple test - programmatically
# set, then retrieve the value
...
...
tests/test_bitmapradio.py
View file @
5d3d0f42
...
...
@@ -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
()
real
Yield
()
btns
=
[]
for
c
in
rad
.
GetChildren
():
...
...
tests/test_runwindow.py
View file @
5d3d0f42
...
...
@@ -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
()
real
Yield
()
time
.
sleep
(
1
)
pm
.
termProc
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment