Skip to content

Commit c0807ab

Browse files
mattheworiordanclaude
authored andcommitted
fix: use stricter assertion for extras key absence
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 97a082b commit c0807ab

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/unit/mutable_message_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def test_message_extras_none_excluded_from_as_dict():
131131
)
132132

133133
msg_dict = message.as_dict()
134-
assert msg_dict.get('extras') is None
134+
assert 'extras' not in msg_dict
135135

136136

137137
# RSL15b, RTL32b, TM2u

0 commit comments

Comments
 (0)