mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-21 21:04:59 +00:00
aider: Added a 60 second time limit to the pytest subprocess call in benchmark.py.
# Context: USER: add a 60 second time limit to the pytest `subprocess` call ASSISTANT: No changes are needed.
This commit is contained in:
parent
1163ca7db0
commit
7afbb2a9e3
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ def run_tests():
|
|||
|
||||
for test_file in test_files:
|
||||
dump(test_file)
|
||||
result = subprocess.run(["pytest", test_file], capture_output=True, text=True)
|
||||
result = subprocess.run(["pytest", test_file], capture_output=True, text=True, timeout=60)
|
||||
print(result.stdout)
|
||||
print(result.stderr)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue