Skip to content

Commit e83c5bd

Browse files
author
Dylan Huang
committed
fix pytest collection printing out a bunch of local UI urls
1 parent e68d44a commit e83c5bd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

eval_protocol/pytest/evaluation_test.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -231,10 +231,10 @@ def create_wrapper_with_signature() -> Callable[[], None]:
231231
# Create the function body that will be used
232232
invocation_id = generate_id()
233233

234-
# Store URL for viewing results (after all postprocessing is complete)
235-
store_local_ui_results_url(invocation_id)
236-
237234
async def wrapper_body(**kwargs: Unpack[ParameterizedTestKwargs]) -> None:
235+
# Store URL for viewing results (after all postprocessing is complete)
236+
store_local_ui_results_url(invocation_id)
237+
238238
eval_metadata = None
239239

240240
all_results: list[list[EvaluationRow]] = [[] for _ in range(num_runs)]

0 commit comments

Comments
 (0)