diff options
Diffstat (limited to 'tests/helpers/testutils.py')
-rw-r--r-- | tests/helpers/testutils.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/helpers/testutils.py b/tests/helpers/testutils.py index 574c57cb0..fa98474e5 100644 --- a/tests/helpers/testutils.py +++ b/tests/helpers/testutils.py @@ -32,14 +32,14 @@ import importlib.machinery import pytest -from qutebrowser.qt.gui import QColor +from qutebrowser.qt import gui from qutebrowser.utils import log, utils, version ON_CI = 'CI' in os.environ -class Color(QColor): +class Color(gui.QColor): """A QColor with a nicer repr().""" @@ -269,7 +269,7 @@ def disable_seccomp_bpf_sandbox(): newer kernels. """ try: - from qutebrowser.qt import webenginecore # pylint: disable=unused-import + pass except ImportError: # no QtWebEngine available return False |