Skip to content

Commit

Permalink
Skip testing oom killer on Python 3.12
Browse files Browse the repository at this point in the history
Need to investigate further if there's a safe way to do this test.
  • Loading branch information
jbarlow83 committed Jan 3, 2024
1 parent 5e53200 commit 14365d1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/test_concurrency.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
from __future__ import annotations

import os
import platform

import pytest

Expand All @@ -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,
Expand Down

0 comments on commit 14365d1

Please sign in to comment.