Skip to content

Commit ea5ca23

Browse files
authored
Merge pull request #105 from astrofrog/fix-deprecated-import
Avoid using deprecated import from glue-core
2 parents 4b01ada + 9c7b714 commit ea5ca23

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

glue_wwt/conftest.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,12 @@ def pytest_configure(config):
1717
# WebEngine widgets require this.
1818
from pywwt.qt import WWTQtClient # noqa
1919

20-
from glue.utils.qt import get_qapp
20+
from glue_qt.utils import get_qapp
2121
app = get_qapp()
2222

2323

2424
def pytest_unconfigure(config):
2525
global app
26-
app.quit()
26+
if app is not None:
27+
app.quit()
2728
app = None

0 commit comments

Comments
 (0)