Skip to content

Commit bf85285

Browse files
committed
cleanups
1 parent 46743ae commit bf85285

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/integrations/pydantic_ai/test_pydantic_ai.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
from pydantic_ai.messages import BinaryContent, UserPromptPart
1919
from pydantic_ai.usage import RequestUsage
2020
from pydantic_ai.exceptions import ModelRetry, UnexpectedModelBehavior
21-
from pydantic_ai._tool_manager import ToolDefinition
2221

2322

2423
@pytest.fixture
@@ -2832,11 +2831,11 @@ def multiply_numbers(a: int, b: int) -> int:
28322831

28332832

28342833
@pytest.mark.asyncio
2835-
async def test_tool_without_description_omits_tool_description(
2834+
async def test_tool_without_description_sets_tool_description_to_none(
28362835
sentry_init, capture_events
28372836
):
28382837
"""
2839-
Test that execute_tool spans omit tool description when the tool has no docstring.
2838+
Test that execute_tool spans set tool description to None when the tool has no docstring.
28402839
"""
28412840
agent = Agent(
28422841
"test",

0 commit comments

Comments
 (0)