Skip to content

Commit

Permalink
Update assertion checks
Browse files Browse the repository at this point in the history
  • Loading branch information
Hiromu Hota authored and lukehsiao committed Oct 21, 2020
1 parent 402c142 commit a2d097b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/parser/test_preprocessor.py
Expand Up @@ -13,7 +13,7 @@ def test_hocrpreprocessor():
# the intermidiate attribute: "fonduer" should be removed.
assert "fonduer" not in doc.text
# number of "left" attribute is equal to that of "ppageno" - 1 (at ocr_page)
assert doc.text.count("left") == doc.text.count("ppageno") - 1 == 33
assert doc.text.count("left") == doc.text.count("ppageno") - 1 == 24


def test_hocrpreprocessor_space_false():
Expand Down

0 comments on commit a2d097b

Please sign in to comment.