Compare commits
2 Commits
master
...
segfault-d
| Author | SHA1 | Date | |
|---|---|---|---|
| 72c51c5744 | |||
| 1e203873c9 |
@@ -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
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user