From b23669400f030e805e6d972356e9a629c83ea167 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Tue, 17 Dec 2024 16:35:16 -0800 Subject: [PATCH] fix: Correct syntax error in cleanup_test_output --- benchmark/benchmark.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/benchmark/benchmark.py b/benchmark/benchmark.py index dbf62aacc..9d1717a52 100755 --- a/benchmark/benchmark.py +++ b/benchmark/benchmark.py @@ -820,7 +820,9 @@ def cleanup_test_output(output, testdir): # remove timing info, to avoid randomizing the response to GPT res = re.sub( r"\bin \d+\.\d+s\b", - + "", + output + ) res = res.replace(str(testdir), str(testdir.name)) return res