mirror of
https://github.com/rspeer/wordfreq.git
synced 2024-12-23 17:31:41 +00:00
changed japanese test because the most common japanese ascii word keeps changing
Former-commit-id: 5ed03b006c
This commit is contained in:
parent
fa89956df3
commit
d10109bb38
@ -110,8 +110,8 @@ def test_not_really_random():
|
||||
|
||||
# This not only tests random_ascii_words, it makes sure we didn't end
|
||||
# up with 'eos' as a very common Japanese word
|
||||
eq_(random_ascii_words(nwords=4, lang='ja', bits_per_word=0),
|
||||
'rt rt rt rt')
|
||||
eq_(random_words(nwords=4, lang='ja', bits_per_word=0),
|
||||
'の の の の')
|
||||
|
||||
|
||||
@raises(ValueError)
|
||||
|
Loading…
Reference in New Issue
Block a user