From 4dbb5b1cbb9b95ab4d1eaf02e675b6a8abfe0ca8 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Mon, 13 Apr 2020 19:57:49 +0200 Subject: [PATCH] test/run_benchmarks: fix syntax. --- test/run_benchmarks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/run_benchmarks.py b/test/run_benchmarks.py index f12070c..8ae80bf 100755 --- a/test/run_benchmarks.py +++ b/test/run_benchmarks.py @@ -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):