style: apply ruff format fixes

This commit is contained in:
Sydney Runkle
2026-04-29 14:15:02 -04:00
parent 68f7a3acc4
commit e735645264
2 changed files with 4 additions and 5 deletions
-1
View File
@@ -663,4 +663,3 @@ class TestPreDeltaBlobTerminator:
assert "PRE-DELTA-WRITE" not in values
# And the pending write at the target is never folded in.
assert "PENDING-AT-TARGET" not in values
@@ -593,7 +593,9 @@ def test_add_messages_to_delta_migration_preserves_message_history() -> None:
)
async def test_add_messages_to_delta_migration_preserves_message_history_async() -> None:
async def test_add_messages_to_delta_migration_preserves_message_history_async() -> (
None
):
"""Async variant of the add_messages migration test."""
checkpointer = InMemorySaver()
config = {"configurable": {"thread_id": "add-messages-migration-async"}}
@@ -602,9 +604,7 @@ async def test_add_messages_to_delta_migration_preserves_message_history_async()
await pre_graph.ainvoke(
{"messages": [HumanMessage(content="hello", id="h1")]}, config
)
await pre_graph.ainvoke(
{"messages": [AIMessage(content="hi", id="a1")]}, config
)
await pre_graph.ainvoke({"messages": [AIMessage(content="hi", id="a1")]}, config)
delta_graph = _delta_messages_graph(checkpointer)
snap = await delta_graph.aget_state(config)