From cf5b38d4f5a5a181565a31dcf12c61898eb51fcc Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Tue, 17 Dec 2024 16:35:20 -0800 Subject: [PATCH] style: Fix linting issues in benchmark.py --- benchmark/benchmark.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/benchmark/benchmark.py b/benchmark/benchmark.py index 9d1717a52..bcbf02137 100755 --- a/benchmark/benchmark.py +++ b/benchmark/benchmark.py @@ -787,7 +787,6 @@ def run_test_real( def run_unit_tests(testdir, history_fname): - timeout = 60 command = ["pytest"] @@ -818,11 +817,7 @@ def run_unit_tests(testdir, history_fname): 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 = re.sub(r"\bin \d+\.\d+s\b", "", output) res = res.replace(str(testdir), str(testdir.name)) return res