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={