def test_unigrams_template_splitter_handles_empty_iterable(self):
    text = iter([])
    result = list(unigram_splitter(text, splitter=template_splitter))
    assert ([] == result)
def test_unigrams_template_splitter_handles_empty_iterable(self):
    text = iter([])
    result = list(unigram_splitter(text, splitter=template_splitter))
    assert ([] == result)