Skip to content

Commit 24f2785

Browse files
new line
1 parent c3b775f commit 24f2785

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_code_replacement.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3206,4 +3206,4 @@ def _map_tool_definition(f: ToolDefinition) -> ChatCompletionInputTool:
32063206
assert not re.search(r"^import requests\b", new_code, re.MULTILINE) # conditional simple import: import <name>
32073207
assert not re.search(r"^import aiohttp as aiohttp_\b", new_code, re.MULTILINE) # conditional alias import: import <name> as <alias>
32083208
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
3209+
assert "from huggingface_hub import AsyncInferenceClient, ChatCompletionInputTool" not in new_code # conditional from import

0 commit comments

Comments
 (0)