Skip to content

Commit

Permalink
revert test_wikicorpus
Browse files Browse the repository at this point in the history
  • Loading branch information
markroxor committed Oct 20, 2016
1 parent 9bf5cae commit ed7d2d8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions gensim/test/test_wikicorpus.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,10 @@ def setUp(self):
wc = WikiCorpus(datapath(FILENAME))

def test_get_texts_returns_generator_of_lists(self):

logger.debug("Current Python Version is "+str(sys.version_info))
if sys.version_info < (2, 7, 0):
return

wc = WikiCorpus(datapath(FILENAME))
l = wc.get_texts()
self.assertEqual(type(l), types.GeneratorType)
Expand All @@ -49,7 +48,6 @@ def test_first_element(self):
2) autism
"""

if sys.version_info < (2, 7, 0):
return
wc = WikiCorpus(datapath(FILENAME))
Expand Down

0 comments on commit ed7d2d8

Please sign in to comment.