We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3b775f commit 24f2785Copy full SHA for 24f2785
tests/test_code_replacement.py
@@ -3206,4 +3206,4 @@ def _map_tool_definition(f: ToolDefinition) -> ChatCompletionInputTool:
3206
assert not re.search(r"^import requests\b", new_code, re.MULTILINE) # conditional simple import: import <name>
3207
assert not re.search(r"^import aiohttp as aiohttp_\b", new_code, re.MULTILINE) # conditional alias import: import <name> as <alias>
3208
assert not re.search(r"^from math import pi as PI, sin as sine\b", new_code, re.MULTILINE) # conditional multiple aliases imports
3209
- assert "from huggingface_hub import AsyncInferenceClient, ChatCompletionInputTool" not in new_code # conditional from import
+ assert "from huggingface_hub import AsyncInferenceClient, ChatCompletionInputTool" not in new_code # conditional from import
0 commit comments