Skip to content

Commit

Permalink
initialising unittest TestWikiCorpus (piskvorky#957)
Browse files Browse the repository at this point in the history
  • Loading branch information
markroxor committed Oct 20, 2016
1 parent c144bf3 commit 9b1ac77
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions gensim/test/test_wikicorpus.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,8 @@ def test_first_element(self):
l = wc.get_texts()
self.assertTrue(b"anarchism" in next(l))
self.assertTrue(b"autism" in next(l))


if __name__ == '__main__':
logging.basicConfig(format='%(asctime)s : %(levelname)s : %(message)s', level=logging.DEBUG)
unittest.main()

0 comments on commit 9b1ac77

Please sign in to comment.