Skip to content

Commit

Permalink
Fixes piskvorky#1828 , Tests Added
Browse files Browse the repository at this point in the history
  • Loading branch information
sj29-innovate committed Jan 9, 2018
1 parent f1f65e2 commit de436bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gensim/test/test_BM25.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 """
Expand Down

0 comments on commit de436bc

Please sign in to comment.