Skip to content

Commit 4ea5b2a

Browse files
committed
Fix tests: ignore deprecation warning
1 parent 94ee4b0 commit 4ea5b2a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/models/test_anthropic_bash.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@
2121
pytestmark = [
2222
pytest.mark.skipif(not imports_successful(), reason='anthropic not installed'),
2323
pytest.mark.anyio,
24+
pytest.mark.filterwarnings(
25+
'ignore:`BuiltinToolResultEvent` is deprecated, look for `PartStartEvent` and `PartDeltaEvent` with `BuiltinToolReturnPart` instead.:DeprecationWarning'
26+
),
2427
]
2528

2629
@pytest.mark.filterwarnings('ignore::UserWarning')

0 commit comments

Comments
 (0)