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-props
Commits
db3ee756
Commit
db3ee756
authored
Oct 03, 2019
by
Paul McCarthy
🚵
Browse files
TEST: avoid deprecation warning
parent
023258e0
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/__init__.py
View file @
db3ee756
...
...
@@ -102,7 +102,7 @@ def simclick(sim, target, btn=wx.MOUSE_BTN_LEFT, pos=None, stype=0):
x
+=
w
*
pos
[
0
]
y
+=
h
*
pos
[
1
]
sim
.
MouseMove
(
x
,
y
)
sim
.
MouseMove
(
int
(
x
),
int
(
y
)
)
wx
.
Yield
()
if
stype
==
0
:
sim
.
MouseClick
(
btn
)
elif
stype
==
1
:
sim
.
MouseDblClick
(
btn
)
...
...
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