diff --git a/gensim/test/test_BM25.py b/gensim/test/test_BM25.py index ae0332f6c5..6cc95a922c 100644 --- a/gensim/test/test_BM25.py +++ b/gensim/test/test_BM25.py @@ -29,7 +29,7 @@ def test_nonnegative_weights(self): weights = get_bm25_weights(common_texts) for doc_weights in weights: for weight in doc_weights: - self.assertTrue(weight >=0 ) + self.assertTrue(weight >= 0) def test_same_match_with_same_document(self): """ A document should always get the same weight when matched with a particular document """