mirror of
https://github.com/rspeer/wordfreq.git
synced 2024-12-23 17:31:41 +00:00
updated test because the new tokenizer removes URLs
This commit is contained in:
parent
981cc249f1
commit
35f472fcf9
@ -105,7 +105,7 @@ def test_not_really_random():
|
|||||||
# This not only tests random_ascii_words, it makes sure we didn't end
|
# This not only tests random_ascii_words, it makes sure we didn't end
|
||||||
# up with 'eos' as a very common Japanese word
|
# up with 'eos' as a very common Japanese word
|
||||||
eq_(random_ascii_words(nwords=4, lang='ja', bits_per_word=0),
|
eq_(random_ascii_words(nwords=4, lang='ja', bits_per_word=0),
|
||||||
'http http http http')
|
'rt rt rt rt')
|
||||||
|
|
||||||
|
|
||||||
@raises(ValueError)
|
@raises(ValueError)
|
||||||
|
Loading…
Reference in New Issue
Block a user