Skip to content

Commit 66e46f0

Browse files
committed
fix linter issue
1 parent 0d7a844 commit 66e46f0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

toolium/test/utils/ai_utils/test_text_readability.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ def test_assert_text_readability_with_custom_technical_chars():
7373
input_text = 'Too many symbols: [ separators | hyphens - and such ] = {}'
7474
with pytest.raises(Exception) as excinfo:
7575
assert_text_readability(input_text, threshold=0.9)
76+
assert str(excinfo.value).startswith('Text readability is below threshold')
7677
assert_text_readability(input_text, threshold=0.9, technical_chars=['_']) # ignoring other technical chars
7778

7879

0 commit comments

Comments
 (0)