From a4b36342a6c191423edfd4a8e786bf8145d4183e53e16eb09c8c7d6ff98d8231 Mon Sep 17 00:00:00 2001 From: Daniel Garcia Date: Mon, 27 Feb 2023 10:33:39 +0000 Subject: [PATCH] - Disable current broken tests, test_LSTM_choices, test_detect_os and or test_init, gh#sirfz/tesserocr#295 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tesserocr?expand=0&rev=30 --- python-tesserocr.changes | 6 ++++++ python-tesserocr.spec | 6 +++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/python-tesserocr.changes b/python-tesserocr.changes index eacde56..dfe80ce 100644 --- a/python-tesserocr.changes +++ b/python-tesserocr.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Feb 27 10:22:49 UTC 2023 - Daniel Garcia + +- Disable current broken tests, test_LSTM_choices, test_detect_os and + or test_init, gh#sirfz/tesserocr#295 + ------------------------------------------------------------------- Sat Jan 14 21:46:21 UTC 2023 - Hans-Peter Jansen diff --git a/python-tesserocr.spec b/python-tesserocr.spec index 897ecc9..d4f988a 100644 --- a/python-tesserocr.spec +++ b/python-tesserocr.spec @@ -64,7 +64,11 @@ GIL while processing an image in tesseract. export TESSDATA_PREFIX=/usr/share/tessdata %python_exec setup.py develop --user # test_LSTM_choices failure: https://github.com/sirfz/tesserocr/issues/214 -%pytest -k 'not test_LSTM_choices' +# https://github.com/sirfz/tesserocr/issues/295 +donttest="test_LSTM_choices" +donttest+=" or test_detect_os" +donttest+=" or test_init" +%pytest -k "not ($donttest)" %files %{python_files} %license LICENSE