Skip to content

Commit

Permalink
Fix qtbot test
Browse files Browse the repository at this point in the history
  • Loading branch information
rossant committed Jun 1, 2022
1 parent 9a330b9 commit 8166fbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phy/plot/tests/test_interact.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ def test_lasso_grid(qtbot, canvas):
qtbot.wait(20)

def _ctrl_click(x, y, button='left'):
mouse_click(qtbot, canvas, (x, y), button=button, modifiers=('Control',))
mouse_click(qtbot, canvas, (int(x), int(y)), button=button, modifiers=('Control',))

# Square selection in the right panel.
w, h = canvas.get_size()
Expand Down

0 comments on commit 8166fbe

Please sign in to comment.