From 8770fff96885dd16b2bc95e5815592bb18d7ef94 Mon Sep 17 00:00:00 2001 From: "James R. Barlow" Date: Mon, 15 Feb 2021 01:05:08 -0800 Subject: [PATCH] tests: remove unreliable/incomplete test --- tests/test_rotation.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/tests/test_rotation.py b/tests/test_rotation.py index bb699124..8ee08344 100644 --- a/tests/test_rotation.py +++ b/tests/test_rotation.py @@ -249,16 +249,6 @@ def test_rotate_page_level(image_angle, page_angle, resources, outdir): assert check_monochrome_correlation(outdir, reference, 1, out, 1) > 0.2 -def test_tesseract_orientation(resources, tmp_path): - pix = leptonica.Pix.open(resources / 'crom.png') - pix_rotated = pix.rotate_orth(2) # 180 degrees clockwise - pix_rotated.write_implied_format(tmp_path / '000001.png') - - tesseract.get_orientation( # Test results of this are unreliable - tmp_path / '000001.png', engine_mode='3', timeout=10 - ) - - def test_rasterize_rotates(resources, tmp_path): pm = get_plugin_manager([])