Skip to content

Commit

Permalink
use increment operator
Browse files Browse the repository at this point in the history
Co-authored-by: Radim Řehůřek <me@radimrehurek.com>
  • Loading branch information
gojomo and piskvorky committed Sep 2, 2020
1 parent fc4b97f commit 030e650
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gensim/test/test_word2vec.py
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,7 @@ def test_method_in_bulk(self):
method_fn(ranks=ranks)
except Exception as ex:
print('%s failed: %s' % (method_name, ex))
failures = failures + 1
failures += 1
print(ranks)
print(np.mean(ranks))
self.assertEquals(failures, 0, "too many failures")
Expand Down

0 comments on commit 030e650

Please # to comment.