d1d3cd6460f30322ce8a64e13563adba76665a72,tests/test_dataset_reddit_comments.py,,test_texts,#,31

Before Change




def test_texts():
    for text in DATASET.texts(limit=3):
        assert isinstance(text, compat.unicode_)

After Change




def test_texts():
    texts = list(DATASET.texts(limit=3))
    assert len(texts) > 0
    for text in texts:
        assert isinstance(text, compat.unicode_)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: chartbeat-labs/textacy
Commit Name: d1d3cd6460f30322ce8a64e13563adba76665a72
Time: 2019-04-24
Author: burtdewilde@gmail.com
File Name: tests/test_dataset_reddit_comments.py
Class Name:
Method Name: test_texts


Project Name: chartbeat-labs/textacy
Commit Name: 2240d0da4de47652f44f66200953eac229e1e56a
Time: 2019-04-24
Author: burtdewilde@gmail.com
File Name: tests/test_dataset_wikipedia.py
Class Name:
Method Name: test_texts


Project Name: chartbeat-labs/textacy
Commit Name: a8f650b79c72d175601edf9286908b196cfeafd1
Time: 2016-08-12
Author: burton@chartbeat.com
File Name: tests/test_corpora_reddit_reader.py
Class Name: RedditReaderTestCase
Method Name: test_texts_min_len