From af86b85c0c060bc3d3fe42c9cc429b2caacaa115 Mon Sep 17 00:00:00 2001 From: Kai Welke Date: Tue, 28 May 2024 08:30:26 +0200 Subject: [PATCH] fix: skip test --- tests/test_assets.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_assets.py b/tests/test_assets.py index 87165cf..bd5051f 100644 --- a/tests/test_assets.py +++ b/tests/test_assets.py @@ -2,6 +2,7 @@ import os import re +import sys from pathlib import Path import pytest @@ -64,6 +65,7 @@ def test_custom_rtd_assets(app: Sphinx) -> None: assert any(re.search("_static/rtd-docsearch-custom.css", str(i)) for i in css) +@pytest.mark.skipif(sys.version_info < (3,9), reason="requires at least Python 3.9") @pytest.mark.sphinx( "html", confoverrides={