mirror of
https://github.com/rspeer/wordfreq.git
synced 2024-12-24 01:41:39 +00:00
updated test because the new tokenizer removes URLs
Former-commit-id: 35f472fcf9
This commit is contained in:
parent
c980cd883a
commit
4706a38c7a
@ -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