Skip to content

Commit

Permalink
ignore unused assigned varaible
Browse files Browse the repository at this point in the history
  • Loading branch information
probinso committed Jul 20, 2018
1 parent 7b7633d commit db74531
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gensim/test/test_atmodel.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,10 @@ def testEmptyDocument(self):
_a2d = author2doc.copy()
_a2d['joaquin'] = [len(_local_texts) - 1]
try:
model = self.class_(_corpus, author2doc=_a2d, id2word=_dictionary, num_topics=2)
_ = self.class_(_corpus, author2doc=_a2d, id2word=_dictionary, num_topics=2)
except IndexError:
raise IndexError("error occurs in 1.0.0 release tag")
assert(_)

def testAuthor2docMissing(self):
# Check that the results are the same if author2doc is constructed automatically from doc2author.
Expand Down

0 comments on commit db74531

Please sign in to comment.