Skip to content

Commit

Permalink
Fixes piskvorky#1869 , Mmcorpus file-like object behaviour fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
sj29-innovate committed Feb 16, 2018
1 parent 75f4514 commit 7321078
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gensim/test/test_corpora.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ def test_closed_file_object(self):
mmcorpus.MmCorpus(file_obj)
s = file_obj.closed
self.assertEqual(f, 0)
self.assertEqual(s, 0)
self.assertEqual(s, 0)

def test_load(self):
self.assertEqual(self.corpus.num_docs, 9)
Expand Down

0 comments on commit 7321078

Please sign in to comment.