Skip to content

Commit

Permalink
Fix _save_corpus in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
anotherbugmaster committed Oct 2, 2017
1 parent 3428113 commit 69fc7e0
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 @@ -253,7 +253,7 @@ def setUp(self):
def test_save_format_for_dtm(self):
corpus = [[(1, 1.0)], [], [(0, 5.0), (2, 1.0)], []]
test_file = testfile()
self.corpus_class.__save_corpus(test_file, corpus)
self.corpus_class._save_corpus(test_file, corpus)
with open(test_file) as f:
for line in f:
# unique_word_count index1:count1 index2:count2 ... indexn:counnt
Expand Down

0 comments on commit 69fc7e0

Please sign in to comment.