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 f7e685f4e..65f76aacc 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
@@ -111,6 +112,10 @@ def _apply_platform_markers(config, item):
pytest.mark.skipif,
sys.getfilesystemencoding() == 'ascii',
"Skipped because of ASCII locale"),
+ ('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: