from __future__ import absolute_import, division, print_function

# Import vispy.gloo first when on Windows otherwise there are strange
# side-effects when PyQt4.Qt is imported first (which it now is in QtPy)
import sys
if sys.platform.startswith('win'):
    import glue_vispy_viewers.extern.vispy.gloo.gl  # noqa

from glue.utils.qt import get_qapp  # noqa

# The application has to always be referenced to avoid being shut down, so we
# keep a reference to it here
app = None


def pytest_configure(config):
    global app
    app = get_qapp()

1b764aa2b2bba1c7ad4956d5944beb1bee13022e
<mask token>


def pytest_configure(config):
    global app
    app = get_qapp()

<mask token>
if sys.platform.startswith('win'):
    import glue_vispy_viewers.extern.vispy.gloo.gl
<mask token>


def pytest_configure(config):
    global app
    app = get_qapp()

<mask token>
if sys.platform.startswith('win'):
    import glue_vispy_viewers.extern.vispy.gloo.gl
<mask token>
app = None


def pytest_configure(config):
    global app
    app = get_qapp()

from __future__ import absolute_import, division, print_function
import sys
if sys.platform.startswith('win'):
    import glue_vispy_viewers.extern.vispy.gloo.gl
from glue.utils.qt import get_qapp
app = None


def pytest_configure(config):
    global app
    app = get_qapp()

from __future__ import absolute_import, division, print_function

# Import vispy.gloo first when on Windows otherwise there are strange
# side-effects when PyQt4.Qt is imported first (which it now is in QtPy)
import sys
if sys.platform.startswith('win'):
    import glue_vispy_viewers.extern.vispy.gloo.gl  # noqa

from glue.utils.qt import get_qapp  # noqa

# The application has to always be referenced to avoid being shut down, so we
# keep a reference to it here
app = None


def pytest_configure(config):
    global app
    app = get_qapp()
