Skip to content

The agent engineering platform.

fix(standard-tests): remove broken code block docstring title (#34173)

Mason Daugherty5d3e3d3f3173
diff --git a/libs/standard-tests/langchain_tests/integration_tests/chat_models.py b/libs/standard-tests/langchain_tests/integration_tests/chat_models.py
index ef29270999..43a320bb3d 100644
--- a/libs/standard-tests/langchain_tests/integration_tests/chat_models.py
+++ b/libs/standard-tests/langchain_tests/integration_tests/chat_models.py
@@ -230,7 +230,7 @@ class ChatModelIntegrationTests(ChatModelTests):
By default, this is determined by whether the chat model's `bind_tools` method
is overridden. It typically does not need to be overridden on the test class.
- ```python "Example override"
+ ```python
@property
def has_tool_calling(self) -> bool:
return True
@@ -266,7 +266,7 @@ class ChatModelIntegrationTests(ChatModelTests):
`tool_choice="any"` will force a tool call, and `tool_choice=<tool name>`
will force a call to a specific tool.
- ```python "Example override"
+ ```python
@property
def has_tool_choice(self) -> bool:
return False
diff --git a/libs/standard-tests/langchain_tests/unit_tests/chat_models.py b/libs/standard-tests/langchain_tests/unit_tests/chat_models.py
index d9ba3a7f8b..58d09499a0 100644
--- a/libs/standard-tests/langchain_tests/unit_tests/chat_models.py
+++ b/libs/standard-tests/langchain_tests/unit_tests/chat_models.py
@@ -296,7 +296,7 @@ class ChatModelUnitTests(ChatModelTests):
By default, this is determined by whether the chat model's `bind_tools` method
is overridden. It typically does not need to be overridden on the test class.
- ```python "Example override"
+ ```python
@property
def has_tool_calling(self) -> bool:
return True
@@ -331,7 +331,7 @@ class ChatModelUnitTests(ChatModelTests):
`tool_choice="any"` will force a tool call, and `tool_choice=<tool name>`
will force a call to a specific tool.
- ```python "Example override"
+ ```python
@property
def has_tool_choice(self) -> bool:
return False