From 08f5509bedc52d7cd5e063523e4c9350ec2cea53 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Thu, 14 Aug 2025 12:31:35 +0200 Subject: [PATCH] Fix tests with broken asciidoc install --- tests/end2end/features/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/end2end/features/conftest.py b/tests/end2end/features/conftest.py index aab3def10..cb07a01ee 100644 --- a/tests/end2end/features/conftest.py +++ b/tests/end2end/features/conftest.py @@ -417,7 +417,7 @@ def update_documentation(): try: subprocess.run(['asciidoc'], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL, check=True) - except OSError: + except (OSError, subprocess.CalledProcessError): pytest.skip("Docs outdated and asciidoc unavailable!") update_script = os.path.join(script_path, 'asciidoc2html.py')