Skip to content

[cel-expr-python] Make testCelEquals Any comparison runtime-agnostic. - #135

Merged
copybara-service[bot] merged 1 commit into
mainfrom
test_1018663952
Nov 11, 2026
Merged

copybara-service[bot] merged 1 commit into
mainfrom
test_1018663952

Conversation

@copybara-service

Copy link
Copy Markdown

[cel-expr-python] Make testCelEquals Any comparison runtime-agnostic.

cel.Value equality (==) delegates to Python protobuf Message.__eq__,
whose google.protobuf.Any handling varies across protobuf runtimes.
Compare cel_msg1 == cel_msg2 against msg1 == msg2 rather than assuming
!=.

`cel.Value` equality (`==`) delegates to Python protobuf `Message.__eq__`,
whose `google.protobuf.Any` handling varies across protobuf runtimes.
Compare `cel_msg1 == cel_msg2` against `msg1 == msg2` rather than assuming
`!=`.

PiperOrigin-RevId: 1018701422
@copybara-service
copybara-service Bot merged commit e3ee015 into main Nov 11, 2026
2 checks passed
@copybara-service
copybara-service Bot deleted the test_1018663952 branch November 11, 2026 01:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant