diff --git a/tests/tests.py b/tests/tests.py index 785c237..b75cbe8 100644 --- a/tests/tests.py +++ b/tests/tests.py @@ -248,12 +248,7 @@ def check_text(html, help_txt, txt_number=0, threshold=0.95): for element in ["
", "", "", "
"]: txt = txt.strip(element) assert txt is not None - try: - assert similarity(txt, help_txt) > threshold - except AssertionError: - import ipdb - - ipdb.set_trace() + assert similarity(txt, help_txt) > threshold return txt