Skip to content

Commit 8694a91

Browse files
remove outdated docstrings
1 parent 22caaca commit 8694a91

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

tests/integrations/pydantic_ai/test_pydantic_ai.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ async def test_agent_run_async(
9797

9898
assert spans[1]["attributes"]["sentry.op"] == "gen_ai.invoke_agent"
9999

100-
# Find child span types (invoke_agent is the transaction, not a child span)
101100
chat_spans = [
102101
s for s in spans if s["attributes"].get("sentry.op", "") == "gen_ai.chat"
103102
]
@@ -2155,8 +2154,6 @@ async def test_invoke_agent_with_list_user_prompt(
21552154
sentry_sdk.flush()
21562155
spans = [item.payload for item in items]
21572156

2158-
# Check that the invoke_agent transaction has messages data
2159-
# The invoke_agent is the transaction itself
21602157
if "gen_ai.request.messages" in spans[0]["attributes"]:
21612158
messages_str = spans[0]["attributes"]["gen_ai.request.messages"]
21622159
assert "First part" in messages_str

0 commit comments

Comments
 (0)