From 60d0c796b141847ca14e17544dd1c2d39bf58430 Mon Sep 17 00:00:00 2001 From: felix Date: Fri, 11 Oct 2024 07:41:08 +0200 Subject: [PATCH] apply suggestions --- tests/common/test_utils_reconstitution.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tests/common/test_utils_reconstitution.py b/tests/common/test_utils_reconstitution.py index 1af5a9c44a..fdb0569b85 100644 --- a/tests/common/test_utils_reconstitution.py +++ b/tests/common/test_utils_reconstitution.py @@ -23,12 +23,6 @@ def test_synthesize_page(): assert isinstance(render_one_line, np.ndarray) assert render_one_line.shape == (*pages[0].dimensions, 3) - # test with a smiley which can't be rendered by unidecode - pages_one_line["blocks"][0]["lines"][0]["words"][0]["text"] = "🤯" - render_one_line = reconstitution.synthesize_page(pages_one_line, draw_proba=True) - assert isinstance(render_one_line, np.ndarray) - assert render_one_line.shape == (*pages[0].dimensions, 3) - def test_synthesize_kie_page(): pages = _mock_kie_pages()