diff options
author | Picca Frédéric-Emmanuel <picca@debian.org> | 2021-01-06 14:10:12 +0100 |
---|---|---|
committer | Picca Frédéric-Emmanuel <picca@debian.org> | 2021-01-06 14:10:12 +0100 |
commit | b3bea947efa55d2c0f198b6c6795b3177be27f45 (patch) | |
tree | 4116758aafe4483bf472c1d54b519e685737fd77 /silx/gui/plot/test/testPlotInteraction.py | |
parent | 5ad425ff4e62f5e003178813ebd073577679a00e (diff) |
New upstream version 0.14.0+dfsg
Diffstat (limited to 'silx/gui/plot/test/testPlotInteraction.py')
-rw-r--r-- | silx/gui/plot/test/testPlotInteraction.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/silx/gui/plot/test/testPlotInteraction.py b/silx/gui/plot/test/testPlotInteraction.py index 335b1e4..7a30434 100644 --- a/silx/gui/plot/test/testPlotInteraction.py +++ b/silx/gui/plot/test/testPlotInteraction.py @@ -68,7 +68,11 @@ class TestSelectPolygon(PlotWidgetTestCase): for pos in polygon: self.mouseMove(plot, pos=pos) - self.mouseClick(plot, qt.Qt.LeftButton, pos=pos) + self.qapp.processEvents() + self.mousePress(plot, qt.Qt.LeftButton, pos=pos) + self.qapp.processEvents() + self.mouseRelease(plot, qt.Qt.LeftButton, pos=pos) + self.qapp.processEvents() self.plot.sigPlotSignal.disconnect(dump) return [args[0] for args in dump.received] |