Skip fewer tests

This commit is contained in:
James R. Barlow
2023-10-24 00:54:31 -07:00
parent 8916955f45
commit b928dc0808
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -12,13 +12,13 @@ from ocrmypdf import ExitCode
from .conftest import run_ocrmypdf_api
@pytest.mark.skipif(True, reason="--use-threads is currently default")
@pytest.mark.skipif(os.name == 'nt', reason="Windows doesn't have SIGKILL")
def test_simulate_oom_killer(multipage, no_outpdf):
exitcode = run_ocrmypdf_api(
multipage,
no_outpdf,
'--force-ocr',
'--no-use-threads',
'--plugin',
'tests/plugins/tesseract_simulate_oom_killer.py',
)
+1 -1
View File
@@ -59,7 +59,7 @@ def test_content_preservation(resources, outpdf):
@pytest.mark.skipif(
tesseract.version() > tesseract.TesseractVersion('5'), reason="doesn't fool Tess 5"
tesseract.version() >= tesseract.TesseractVersion('5'), reason="doesn't fool Tess 5"
)
def test_no_languages(tmp_path, monkeypatch):
(tmp_path / 'tessdata').mkdir()