From e251650fddfbe0eb988af7bf710f6da1b288027b Mon Sep 17 00:00:00 2001 From: "Philipp S. Sommer" Date: Mon, 11 May 2020 09:09:43 +0200 Subject: [PATCH] minor fix for qt tests --- tests/conftest.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/conftest.py b/tests/conftest.py index fceebea..9649ffa 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,3 +1,8 @@ +try: + # make sure we import QtWebEngineWidgets at the start + import psyplot_gui.compat.qtcompat +except ImportError: + pass def pytest_addoption(parser): group = parser.getgroup("psyplot", "psyplot specific options")