mirror of
https://github.com/rspeer/wordfreq.git
synced 2024-12-24 09:51:38 +00:00
parent
6e6d9fb052
commit
000491c7cc
@ -23,7 +23,9 @@ def test_languages():
|
||||
|
||||
# Laughter is the universal language
|
||||
for lang in avail:
|
||||
if lang != 'zh': # we don't have enough Chinese data yet
|
||||
if lang not in {'zh', 'ja'}:
|
||||
# we do not have enough Chinese data
|
||||
# Japanese people do not lol
|
||||
assert_greater(word_frequency('lol', lang), 0)
|
||||
|
||||
# Make up a weirdly verbose language code and make sure
|
||||
|
Loading…
Reference in New Issue
Block a user