From 6ac98f9f6b2487c930e686110b46183eb6f417dc Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Thu, 17 Dec 2020 16:28:12 +0100 Subject: remove obsolete assert --- fuzzycat/verify.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/fuzzycat/verify.py b/fuzzycat/verify.py index 00d76ba..7c1e462 100644 --- a/fuzzycat/verify.py +++ b/fuzzycat/verify.py @@ -174,9 +174,6 @@ def verify(a: Dict, b: Dict, min_title_length=5) -> Tuple[str, str]: b_title = b.get("title", "") or "" b_title_lower = b_title.lower() - assert isinstance(a_title, str) - assert isinstance(b_title, str) - if len(a_title) < min_title_length: return Verify(Status.AMBIGUOUS, Reason.SHORT_TITLE) if a_title_lower in TITLE_BLACKLIST: -- cgit v1.2.3