From f87f287ddc50aeec97fdf0379d5a2ba1a47b75dc Mon Sep 17 00:00:00 2001 From: Mayya Sharipova Date: Wed, 21 Oct 2020 17:34:55 -0400 Subject: [PATCH] Reenable verifyCounts --- src/python/benchUtil.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python/benchUtil.py b/src/python/benchUtil.py index f9e3d7138..e0986360b 100644 --- a/src/python/benchUtil.py +++ b/src/python/benchUtil.py @@ -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):