diff --git a/tests/test_concurrency.py b/tests/test_concurrency.py index 1ebdeed69..97194141f 100644 --- a/tests/test_concurrency.py +++ b/tests/test_concurrency.py @@ -4,6 +4,7 @@ from __future__ import annotations import os +import platform import pytest @@ -13,6 +14,9 @@ @pytest.mark.skipif(os.name == 'nt', reason="Windows doesn't have SIGKILL") +@pytest.mark.skipif( + platform.python_version_tuple() >= ('3', '12'), reason="can deadlock due to fork" +) def test_simulate_oom_killer(multipage, no_outpdf): exitcode = run_ocrmypdf_api( multipage,