Skip fewer tests
This commit is contained in:
@@ -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',
|
||||
)
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user