Commit a0bd0dc
test(pydantic-ai): Fix assertion for missing tool description
When a tool has no description, the tool_description field should be
present in the span data but have a None value. Update the assertion
to check for field presence rather than field absence.
Also use `is None` instead of `== None` for proper Python style.
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>1 parent 352c03d commit a0bd0dc
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2872 | 2872 | | |
2873 | 2873 | | |
2874 | 2874 | | |
2875 | | - | |
| 2875 | + | |
| 2876 | + | |
2876 | 2877 | | |
2877 | 2878 | | |
2878 | 2879 | | |
| |||
0 commit comments