Skip to content

Commit

Permalink
Reenable verifyCounts
Browse files Browse the repository at this point in the history
  • Loading branch information
mayya-sharipova committed Oct 21, 2020
1 parent d6d6a45 commit f87f287
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/python/benchUtil.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def verifySame(self, other, verifyScores, verifyCounts):
print('WARNING: expandedTermCounts differ for %s: %s vs %s' % (self, self.expandedTermCount, other.expandedTermCount))
# self.fail('wrong expandedTermCount: %s vs %s' % (self.expandedTermCount, other.expandedTermCount))

if False and self.hitCount != other.hitCount:
if verifyCounts and self.hitCount != other.hitCount:
self.fail('wrong hitCount: %s vs %s' % (self.hitCount, other.hitCount))

if len(self.hits) != len(other.hits):
Expand Down

0 comments on commit f87f287

Please sign in to comment.