summaryrefslogtreecommitdiff
path: root/tests/unit/javascript/stylesheet/test_stylesheet_js.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/javascript/stylesheet/test_stylesheet_js.py')
-rw-r--r--tests/unit/javascript/stylesheet/test_stylesheet_js.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/javascript/stylesheet/test_stylesheet_js.py b/tests/unit/javascript/stylesheet/test_stylesheet_js.py
index 1eebe3b7f..fd0189919 100644
--- a/tests/unit/javascript/stylesheet/test_stylesheet_js.py
+++ b/tests/unit/javascript/stylesheet/test_stylesheet_js.py
@@ -22,8 +22,8 @@
import pathlib
import pytest
-QtWebEngineWidgets = pytest.importorskip("PyQt5.QtWebEngineWidgets")
-QWebEngineProfile = QtWebEngineWidgets.QWebEngineProfile
+QtWebEngineCore = pytest.importorskip("qutebrowser.qt.webenginecore")
+QWebEngineProfile = QtWebEngineCore.QWebEngineProfile
from qutebrowser.utils import javascript