fix: Correct syntax error in cleanup_test_output

This commit is contained in:
Paul Gauthier (aider) 2024-12-17 16:35:16 -08:00
parent aaacd00ecf
commit b23669400f

View file

@ -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