def test_unigrams_word_splitter_handles_empty_string(self):
    text = iter([''])
    result = list(unigram_splitter(text, splitter=word_splitter))
    assert ([] == result)
def test_unigrams_word_splitter_handles_empty_string(self):
    text = iter([])
    result = list(unigram_splitter(text, splitter=word_splitter))
    assert ([] == result)