diff --git a/gensim/test/test_BM25.py b/gensim/test/test_BM25.py index 6cc95a922c..7c38b699fe 100644 --- a/gensim/test/test_BM25.py +++ b/gensim/test/test_BM25.py @@ -28,8 +28,8 @@ def test_nonnegative_weights(self): """ All the weights for a partiular document should be non negative """ weights = get_bm25_weights(common_texts) for doc_weights in weights: - for weight in doc_weights: - self.assertTrue(weight >= 0) + for weight in doc_weights: + 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 """