test/run_benchmarks: fix syntax.

This commit is contained in:
Florent Kermarrec 2020-04-13 19:57:49 +02:00
parent 966ebcbc41
commit 4dbb5b1cbb
1 changed files with 1 additions and 1 deletions

View File

@ -176,7 +176,7 @@ class BenchmarkResult:
def find(pattern, output):
result = pattern.search(output)
assert result is not None, \
"Could not find pattern "%s" in output" % (pattern)
"Could not find pattern {} in output".format(pattern)
return int(result.group("value"))
def __init__(self, output):