Skip to content

Commit

Permalink
Skip semfree unless on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
jbarlow83 committed Oct 30, 2023
1 parent 44bcafd commit 9161067
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/test_semfree.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,14 @@

from __future__ import annotations

import pytest

from ocrmypdf.exceptions import ExitCode

from .conftest import run_ocrmypdf_api
from .conftest import is_linux, run_ocrmypdf_api


@pytest.mark.skipif(not is_linux(), reason='semfree plugin only works on Linux')
def test_semfree(resources, outpdf):
exitcode = run_ocrmypdf_api(
resources / 'multipage.pdf',
Expand Down

0 comments on commit 9161067

Please sign in to comment.