Fix tests with broken asciidoc install

This commit is contained in:
Florian Bruhin 2025-08-14 12:31:35 +02:00
parent 4180e04f24
commit 08f5509bed
1 changed files with 1 additions and 1 deletions

View File

@ -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')