From d7b7ca05744825ef23a9220687939e30508eca06 Mon Sep 17 00:00:00 2001 From: "James R. Barlow" Date: Thu, 5 Sep 2019 13:39:43 -0700 Subject: [PATCH] v9.0.3 notes; Remove test_tesseract_config_notfound from suite --- docs/release_notes.rst | 4 +++- tests/test_main.py | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/release_notes.rst b/docs/release_notes.rst index 37611b71..f90f096d 100644 --- a/docs/release_notes.rst +++ b/docs/release_notes.rst @@ -22,6 +22,8 @@ v9.0.3 security, Ghostscript 9.28 enables ``-dSAFER`` and as such, no longer permits access to any file by default. This fix is necessary for compatibility with Ghostscript 9.28. +- Exclude a test that sometimes times out and fails in continuous integration + from the standard test suite. v9.0.2 ====== @@ -33,7 +35,7 @@ v9.0.2 - Fixed an issue that caused inversion of black and white in monochrome images. We are not certain but the problem seems to be linked to Leptonica 1.76.0 and older. -- Fixed some cases where the test suite failed or produced unexpected if +- Fixed some cases where the test suite failed if English or German Tesseract language packs were not installed. - Fixed a runtime error if the Tesseract English language is not installed. - Improved explicit closing of Pillow images after use. diff --git a/tests/test_main.py b/tests/test_main.py index e87e5163..e84fc052 100644 --- a/tests/test_main.py +++ b/tests/test_main.py @@ -613,6 +613,7 @@ language_model_penalty_non_freq_dict_word 0 ) +@pytest.mark.slow # This test sometimes times out in CI @pytest.mark.parametrize('renderer', RENDERERS) def test_tesseract_config_notfound(renderer, resources, outdir): cfg_file = outdir / 'nofile.cfg'