summaryrefslogtreecommitdiff
path: root/tests/end2end/conftest.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/end2end/conftest.py')
-rw-r--r--tests/end2end/conftest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/end2end/conftest.py b/tests/end2end/conftest.py
index d8d3b7a38..70053dc70 100644
--- a/tests/end2end/conftest.py
+++ b/tests/end2end/conftest.py
@@ -118,7 +118,7 @@ def _get_version_tag(tag):
reason='Needs ' + tag,
)
elif package == 'pyqtwebengine':
- if QtWebEngine:
+ if QtWebEngine and hasattr(QtWebEngine, 'PYQT_WEBENGINE_VERSION_STR'):
running_version = QtWebEngine.PYQT_WEBENGINE_VERSION
else:
running_version = QtCore.PYQT_VERSION