Skip to content

armgit / dspy

Public Imported from GitHub
0

DSPy: The framework for programming—not prompting—language models

Python

suppress expected test warning (#8492)

TomuHirata98a492556941
diff --git a/tests/adapters/test_tool.py b/tests/adapters/test_tool.py
index a4ab072dd..20f59604e 100644
--- a/tests/adapters/test_tool.py
+++ b/tests/adapters/test_tool.py
@@ -366,6 +366,7 @@ async def test_async_concurrent_calls():
assert end_time - start_time < 0.3
[email protected]("ignore::RuntimeWarning")
def test_async_tool_call_in_sync_mode():
tool = Tool(async_dummy_function)
with dspy.context(allow_tool_async_sync_conversion=False):