Skip to content

Commit 241416a

Browse files
committed
Fix deprecated call to QMouseEvent in tests/unit/utils.py
1 parent 0115cfb commit 241416a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plotpy/tests/unit/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ def mouse_event_at_relative_plot_pos(
162162
mouse_event = QG.QMouseEvent(
163163
type_,
164164
canvas_pos,
165-
canvas.mapToGlobal(QC.QPointF(canvas_pos.toPoint())),
165+
QC.QPointF(canvas.mapToGlobal(canvas_pos.toPoint())),
166166
btn,
167167
btn,
168168
mod,

0 commit comments

Comments
 (0)