Compare commits
2 Commits
recon_plot
...
segfault-d
| Author | SHA1 | Date | |
|---|---|---|---|
| 72c51c5744 | |||
| 1e203873c9 |
@@ -15,13 +15,13 @@ class TestMDIArea:
|
|||||||
def setup_method(self):
|
def setup_method(self):
|
||||||
print("setup")
|
print("setup")
|
||||||
self.app = QApplication(sys.argv)
|
self.app = QApplication(sys.argv)
|
||||||
self.mw = MainWindow(add_examples=True)
|
self.mw = MainWindow(add_examples=True, offline=True)
|
||||||
self.mw.show()
|
self.mw.show()
|
||||||
|
|
||||||
|
|
||||||
def teardown_method(self):
|
def teardown_method(self):
|
||||||
print("teardown")
|
print("teardown")
|
||||||
self.mw.rst.wait_for_stop()
|
# self.mw.rst.wait_for_stop()
|
||||||
self.app.quit()
|
self.app.quit()
|
||||||
print("app quit called")
|
print("app quit called")
|
||||||
del self.mw
|
del self.mw
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ def test_make_plot():
|
|||||||
)
|
)
|
||||||
app = QApplication(sys.argv)
|
app = QApplication(sys.argv)
|
||||||
theme.apply(app)
|
theme.apply(app)
|
||||||
mw = MainWindow(add_examples=True)
|
mw = MainWindow(add_examples=True, offline=True)
|
||||||
|
|
||||||
mdi_sub = MDISubPlot("mdi", pd)
|
mdi_sub = MDISubPlot("mdi", pd)
|
||||||
pw = pg.PlotWidget()
|
pw = pg.PlotWidget()
|
||||||
|
|||||||
Reference in New Issue
Block a user