We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77f2041 commit c5ee241Copy full SHA for c5ee241
1 file changed
test/unit_test/headless/test_readability_batch.py
@@ -43,7 +43,7 @@ def test_empty_text_is_zero():
43
report = readability_report("")
44
for key in ("flesch_reading_ease", "flesch_kincaid_grade", "gunning_fog",
45
"smog_index", "automated_readability_index"):
46
- assert report[key] == 0.0
+ assert report[key] == pytest.approx(0.0)
47
assert report["stats"]["words"] == 0
48
49
0 commit comments