mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 17:24:59 +00:00
fix: Correct syntax error in cleanup_test_output
This commit is contained in:
parent
aaacd00ecf
commit
b23669400f
1 changed files with 3 additions and 1 deletions
|
@ -820,7 +820,9 @@ def cleanup_test_output(output, testdir):
|
||||||
# remove timing info, to avoid randomizing the response to GPT
|
# remove timing info, to avoid randomizing the response to GPT
|
||||||
res = re.sub(
|
res = re.sub(
|
||||||
r"\bin \d+\.\d+s\b",
|
r"\bin \d+\.\d+s\b",
|
||||||
|
"",
|
||||||
|
output
|
||||||
|
)
|
||||||
res = res.replace(str(testdir), str(testdir.name))
|
res = res.replace(str(testdir), str(testdir.name))
|
||||||
return res
|
return res
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue