Skip to content

Commit

Permalink
apply suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
felixdittrich92 committed Oct 11, 2024
1 parent 7f5359b commit 60d0c79
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions tests/common/test_utils_reconstitution.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 60d0c79

Please sign in to comment.