mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-14 22:17:15 +00:00
ci: add testing with Python 3.12 (#22813)
We need to use a different version of numpy for py3.8 and py3.12 in pyproject. And so do projects that use that Python version range and import langchain. - **Twitter handle:** _cbornet
This commit is contained in:
committed by
GitHub
parent
b6bf2bb234
commit
d04e899b56
@@ -42,7 +42,7 @@ def test_single_input_agent_raises_error_on_structured_tool(
|
||||
with pytest.raises(
|
||||
ValueError,
|
||||
match=f"{agent_cls.__name__} does not support" # type: ignore
|
||||
f" multi-input tool {the_tool.name}.",
|
||||
f" multi-input tool the_tool.",
|
||||
):
|
||||
agent_cls.from_llm_and_tools(MagicMock(), [the_tool]) # type: ignore
|
||||
|
||||
|
Reference in New Issue
Block a user