Fix tests with broken asciidoc install
This commit is contained in:
parent
4180e04f24
commit
08f5509bed
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Reference in New Issue