diff options
| author | Martin Czygan <martin.czygan@gmail.com> | 2020-12-17 16:28:12 +0100 | 
|---|---|---|
| committer | Martin Czygan <martin.czygan@gmail.com> | 2020-12-17 16:28:15 +0100 | 
| commit | 6ac98f9f6b2487c930e686110b46183eb6f417dc (patch) | |
| tree | 41fe77838496c514276f4983bb31b5d31fb95626 | |
| parent | be8cac2be49b44a8a1c600dacc1c47c42f12ffc1 (diff) | |
| download | fuzzycat-6ac98f9f6b2487c930e686110b46183eb6f417dc.tar.gz fuzzycat-6ac98f9f6b2487c930e686110b46183eb6f417dc.zip  | |
remove obsolete assert
| -rw-r--r-- | fuzzycat/verify.py | 3 | 
1 files changed, 0 insertions, 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:  | 
