2 Commits

Author SHA1 Message Date
72c51c5744 dont try to stop the RST 2023-03-18 16:55:25 +01:00
1e203873c9 disable RPC thread where not needed 2023-03-18 16:44:01 +01:00
2 changed files with 3 additions and 3 deletions

View File

@@ -15,13 +15,13 @@ class TestMDIArea:
def setup_method(self):
print("setup")
self.app = QApplication(sys.argv)
self.mw = MainWindow(add_examples=True)
self.mw = MainWindow(add_examples=True, offline=True)
self.mw.show()
def teardown_method(self):
print("teardown")
self.mw.rst.wait_for_stop()
# self.mw.rst.wait_for_stop()
self.app.quit()
print("app quit called")
del self.mw

View File

@@ -53,7 +53,7 @@ def test_make_plot():
)
app = QApplication(sys.argv)
theme.apply(app)
mw = MainWindow(add_examples=True)
mw = MainWindow(add_examples=True, offline=True)
mdi_sub = MDISubPlot("mdi", pd)
pw = pg.PlotWidget()