From 14365d10b87590be51a952867b2565b1f3f25119 Mon Sep 17 00:00:00 2001 From: "James R. Barlow" Date: Tue, 2 Jan 2024 16:28:22 -0800 Subject: [PATCH] Skip testing oom killer on Python 3.12 Need to investigate further if there's a safe way to do this test. --- tests/test_concurrency.py | 4 ++++ 1 file changed, 4 insertions(+) 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,