disable RPC thread where not needed

This commit is contained in:
2023-03-18 16:44:01 +01:00
parent a80b568894
commit 1e203873c9
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ 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()

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()