def test_unigrams_word_splitter_handles_blank_lines(self):
    text = iter([u' ', u'', u'\t  '])
    result = list(unigram_splitter(text, splitter=word_splitter))
    assert ([] == result)
def test_unigrams_word_splitter_handles_blank_lines(self):
    text = iter([u' ', u, u'\t  '])
    result = list(unigram_splitter(text, splitter=word_splitter))
    assert ([] == result)