summaryrefslogtreecommitdiff
path: root/tests/conftest.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/conftest.py')
-rw-r--r--tests/conftest.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/conftest.py b/tests/conftest.py
index c74d67566..134f967e9 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -22,6 +22,7 @@
import os
import pathlib
import sys
+import ssl
import pytest
import hypothesis
@@ -122,6 +123,10 @@ def _apply_platform_markers(config, item):
f"Only runs on Qt 6, not {machinery.WRAPPER}"),
('qt5_xfail', pytest.mark.xfail, machinery.IS_QT5, "Fails on Qt 5"),
('qt6_xfail', pytest.mark.skipif, machinery.IS_QT6, "Fails on Qt 6"),
+ ('qtwebkit_openssl3_skip',
+ pytest.mark.skipif,
+ not config.webengine and ssl.OPENSSL_VERSION_INFO[0] == 3,
+ "Failing due to cheroot: https://github.com/cherrypy/cheroot/issues/346"),
]
for searched_marker, new_marker_kind, condition, default_reason in markers: