File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/google/adk/evaluation
tests/unittests/evaluation Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -319,7 +319,7 @@ def convert_events_to_eval_invocations(
319319 # also cause a Pydantic ValidationError because Invocation.user_content
320320 # requires a Content object.
321321 logger .debug (
322- ' Skipping invocation %s: no user-authored event found.' ,
322+ " Skipping invocation %s: no user-authored event found." ,
323323 invocation_id ,
324324 )
325325 continue
Original file line number Diff line number Diff line change @@ -244,9 +244,9 @@ def test_invocation_without_user_event_is_skipped(self):
244244 # Must not raise a Pydantic ValidationError.
245245 invocations = EvaluationGenerator .convert_events_to_eval_invocations (events )
246246
247- assert invocations == [], (
248- "Invocations without a user event should be skipped."
249- )
247+ assert (
248+ invocations == []
249+ ), "Invocations without a user event should be skipped."
250250
251251 def test_mixed_invocations_skips_only_agent_only_ones (self ):
252252 """Only agent-only invocations are skipped; normal invocations are kept.
You can’t perform that action at this time.
0 commit comments