From 0eb92bcc7e1e9cea7360cca997d2bf9b0903a866 Mon Sep 17 00:00:00 2001 From: Philip Robinson Date: Fri, 20 Jul 2018 15:55:24 -0700 Subject: [PATCH] ignore unused assigned varaible --- gensim/test/test_atmodel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gensim/test/test_atmodel.py b/gensim/test/test_atmodel.py index ff1e844aa1..fde8dd6523 100644 --- a/gensim/test/test_atmodel.py +++ b/gensim/test/test_atmodel.py @@ -117,7 +117,7 @@ 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")