Skip to content

Commit

Permalink
Avoid using deprecated import from glue-core
Browse files Browse the repository at this point in the history
  • Loading branch information
astrofrog committed Feb 27, 2024
1 parent 4b01ada commit 9c7b714
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()

Check warning on line 27 in glue_wwt/conftest.py

View check run for this annotation

Codecov / codecov/patch

glue_wwt/conftest.py#L26-L27

Added lines #L26 - L27 were not covered by tests
app = None

0 comments on commit 9c7b714

Please sign in to comment.