qt tests fail: BackendMatplotlibQt has been deleted
https://gitlab.esrf.fr/bliss/bliss/-/jobs/312968
_____________________ TestScatterPlot.test_display_nothing _____________________
self = <tests.qt.flint.widgets.test_scatter_plot.TestScatterPlot testMethod=test_display_nothing>
def tearDown(self):
self.qapp.processEvents()
if len(self.__class__._exceptions) > 0:
messages = "\n".join(self.__class__._exceptions)
> raise AssertionError("Exception occured in Qt thread:\n" + messages)
E AssertionError: Exception occured in Qt thread:
E Traceback (most recent call last):
E File "/opt/conda/envs/testenv/lib/python3.7/site-packages/silx/gui/plot/backends/BackendMatplotlib.py", line 1368, in __deferredReplot
E self.replot()
E File "/opt/conda/envs/testenv/lib/python3.7/site-packages/silx/gui/plot/backends/BackendMatplotlib.py", line 1533, in replot
E self.draw()
E File "/opt/conda/envs/testenv/lib/python3.7/site-packages/silx/gui/plot/backends/BackendMatplotlib.py", line 1486, in draw
E FigureCanvasQTAgg.draw(self)
E File "/opt/conda/envs/testenv/lib/python3.7/site-packages/matplotlib/backends/backend_agg.py", line 439, in draw
E super().draw()
E File "/opt/conda/envs/testenv/lib/python3.7/site-packages/matplotlib/backends/backend_qt.py", line 424, in draw
E self.update()
E RuntimeError: wrapped C/C++ object of type BackendMatplotlibQt has been deleted
/opt/conda/envs/testenv/lib/python3.7/site-packages/silx/gui/utils/testutils.py:185: AssertionError
Edited by Wout De Nolf