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