Skip to content

Commit 98a4925

Browse files
authored
suppress expected test warning (#8492)
1 parent b74b387 commit 98a4925

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/adapters/test_tool.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,7 @@ async def test_async_concurrent_calls():
366366
assert end_time - start_time < 0.3
367367

368368

369+
@pytest.mark.filterwarnings("ignore::RuntimeWarning")
369370
def test_async_tool_call_in_sync_mode():
370371
tool = Tool(async_dummy_function)
371372
with dspy.context(allow_tool_async_sync_conversion=False):

0 commit comments

Comments
 (0)