From d3d45c0be535d755b85b7fe5be96fe84ab009a69 Mon Sep 17 00:00:00 2001 From: Todd Strader Date: Wed, 23 Oct 2024 10:07:03 -0400 Subject: [PATCH] Tests: Fix file_grep_count() error message (#5550) --- test_regress/driver.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test_regress/driver.py b/test_regress/driver.py index df79ecc16..7d325de72 100755 --- a/test_regress/driver.py +++ b/test_regress/driver.py @@ -2459,8 +2459,8 @@ class VlTest: return count = len(re.findall(regexp, contents)) if expcount != count: - self.error("File_grep_count: " + filename + ": Got='" + count + "' Expected='" + - expcount + "' in regexp: '" + regexp + "'") + self.error("File_grep_count: " + filename + ": Got='" + str(count) + "' Expected='" + + str(expcount) + "' in regexp: '" + regexp + "'") def file_grep_any(self, filenames: list, regexp, expvalue=None) -> None: for filename in filenames: