mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 02:05:00 +00:00
Fix last_keyboard_interrupt in benchmark
This commit is contained in:
parent
567aaea834
commit
568be3812b
1 changed files with 1 additions and 1 deletions
|
@ -531,7 +531,7 @@ def run_test(
|
||||||
coder.run(with_message=instructions)
|
coder.run(with_message=instructions)
|
||||||
dur += time.time() - start
|
dur += time.time() - start
|
||||||
|
|
||||||
if coder.num_control_c:
|
if coder.last_keyboard_interrupt:
|
||||||
raise KeyboardInterrupt
|
raise KeyboardInterrupt
|
||||||
|
|
||||||
if no_unit_tests:
|
if no_unit_tests:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue