Skip to content

Commit 6b005e0

Browse files
cbornetmdrxy
andcommitted
Apply suggestions from code review
Co-authored-by: Mason Daugherty <[email protected]>
1 parent 5ae0d97 commit 6b005e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libs/langchain_v1/tests/unit_tests/agents/test_middleware_decorators.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ async def aafter_model(self, state: AgentState, runtime: Runtime) -> dict[str, A
500500
def test_async_middleware_with_can_jump_to_graph_snapshot(snapshot: SnapshotAssertion) -> None:
501501
"""Test async middleware with can_jump_to graph snapshot.
502502
503-
Test that async middleware with can_jump_to creates correct graph structure with
503+
Test that async middleware with `can_jump_to` creates correct graph structure with
504504
conditional edges.
505505
"""
506506

@@ -712,7 +712,7 @@ def second_prompt(request: ModelRequest) -> str:
712712
def test_async_dynamic_prompt_skipped_on_sync_invoke() -> None:
713713
"""Test async dynamic_prompt skipped on sync invoke.
714714
715-
Test that async dynamic_prompt raises NotImplementedError when invoked via sync
715+
Test that async `dynamic_prompt` raises `NotImplementedError` when invoked via sync
716716
path (.invoke).
717717
718718
When an async-only middleware is defined, it cannot be called from the sync path.

0 commit comments

Comments
 (0)