Skip to content

Commit

Permalink
Merge pull request #105 from astrofrog/fix-deprecated-import
Browse files Browse the repository at this point in the history
Avoid using deprecated import from glue-core
  • Loading branch information
astrofrog authored Feb 27, 2024
2 parents 4b01ada + 9c7b714 commit ea5ca23
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions glue_wwt/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,12 @@ def pytest_configure(config):
# WebEngine widgets require this.
from pywwt.qt import WWTQtClient # noqa

from glue.utils.qt import get_qapp
from glue_qt.utils import get_qapp
app = get_qapp()


def pytest_unconfigure(config):
global app
app.quit()
if app is not None:
app.quit()
app = None

0 comments on commit ea5ca23

Please sign in to comment.