Skip to content
This repository was archived by the owner on Feb 23, 2026. It is now read-only.

Commit 4de2462

Browse files
committed
add comment
1 parent 2a9f06a commit 4de2462

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/test_fields_mitigate_collision.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,6 @@ class TestMessage(proto.Message):
3131
obj.eggs = "has_eggs"
3232
assert obj.spam_ == "has_spam"
3333

34+
# Test that `spam` is coerced to `spam_`
3435
modified_obj = TestMessage({"spam": "has_spam", "eggs": "has_eggs"})
3536
assert modified_obj.spam_ == "has_spam"

0 commit comments

Comments
 (0)