Skip to content

Commit

Permalink
♻️ test: remove unnecessary test_parse function from test_detect file
Browse files Browse the repository at this point in the history
  • Loading branch information
sudoskys committed Jul 6, 2024
1 parent d486ae2 commit 00aa55e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tests/test_detect.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,3 @@ def test_detect_totally():
assert detect_langs("hello world") == "EN", "ft_detect error"
assert detect_langs("你好世界") == "ZH", "ft_detect error"
assert detect_langs("こんにちは世界") == "JA", "ft_detect error"


def test_parse():
from fast_langdetect import parse_sentence
assert parse_sentence("hello world") == [{"text": "hello world", "lang": "EN", "length": 11}], "ft_detect error"

0 comments on commit 00aa55e

Please sign in to comment.