Skip to content

Commit dc88aef

Browse files
Run Python formatter (ruff format)
Co-authored-by: SteveSandersonMS <1101362+SteveSandersonMS@users.noreply.github.com>
1 parent e1cc9a7 commit dc88aef

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

python/test_event_forward_compatibility.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,9 @@ def test_unknown_event_type_maps_to_unknown(self):
3131
"type": "session.future_feature_from_server",
3232
"data": {},
3333
}
34-
34+
3535
event = session_event_from_dict(unknown_event)
36-
assert event.type == SessionEventType.UNKNOWN, \
37-
f"Expected UNKNOWN, got {event.type}"
36+
assert event.type == SessionEventType.UNKNOWN, f"Expected UNKNOWN, got {event.type}"
3837

3938
def test_malformed_uuid_raises_error(self):
4039
"""Malformed UUIDs should raise ValueError for visibility, not be suppressed."""
@@ -45,7 +44,7 @@ def test_malformed_uuid_raises_error(self):
4544
"type": "session.start",
4645
"data": {},
4746
}
48-
47+
4948
# This should raise an error and NOT be silently suppressed
5049
with pytest.raises(ValueError):
5150
session_event_from_dict(malformed_event)
@@ -59,7 +58,7 @@ def test_malformed_timestamp_raises_error(self):
5958
"type": "session.start",
6059
"data": {},
6160
}
62-
61+
6362
# This should raise an error and NOT be silently suppressed
6463
with pytest.raises((ValueError, TypeError)):
6564
session_event_from_dict(malformed_event)

0 commit comments

Comments
 (0)