Skip to content

Commit 5c96b9b

Browse files
committed
Fix test failure cause by upgrade to protobuf>=5.0.0
Change-Id: I16a3c1964284d16efb48073662901454d4e4a6a1
1 parent d009f13 commit 5c96b9b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_generative_models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1120,13 +1120,13 @@ def test_repr_error_info_for_chat_streaming_unexpected_stop(self):
11201120
"usage_metadata": {}
11211121
}),
11221122
),
1123-
error=<StopCandidateException> index: 0
1124-
content {
1123+
error=<StopCandidateException> content {
11251124
parts {
11261125
text: "abc"
11271126
}
11281127
}
11291128
finish_reason: SAFETY
1129+
index: 0
11301130
citation_metadata {
11311131
}
11321132
"""

0 commit comments

Comments
 (0)