Skip to content

Commit 5a2bfe2

Browse files
committed
format
1 parent 0f96c80 commit 5a2bfe2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

eval_protocol/pytest/utils.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -257,9 +257,9 @@ async def retry_handler(failed_row: EvaluationRow):
257257
current_attempts = retry_counts.get(rollout_id, 0)
258258

259259
if current_attempts >= max_retry:
260-
assert (
261-
failed_row.rollout_status and failed_row.rollout_status.status == RolloutStatus.Status.ERROR
262-
), f"Rollout {failed_row.execution_metadata.rollout_id} did not fail with error status"
260+
assert failed_row.rollout_status and failed_row.rollout_status.status == RolloutStatus.Status.ERROR, (
261+
f"Rollout {failed_row.execution_metadata.rollout_id} did not fail with error status"
262+
)
263263
failed_permanently.append(failed_row)
264264
await queue.put(failed_row) # put failed row on queue
265265
return

0 commit comments

Comments
 (0)