Skip to content

Commit 097d056

Browse files
committed
fix python 3.11 err with f-strings
1 parent 0557d49 commit 097d056

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/backends/test_tool_helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def get_weather(location: str) -> int:
5353
assert tools["get_weather"] == get_weather
5454

5555
# Must use `==` for bound methods.
56-
assert tools["tool1"] == ftc.tool1, f"{tools["tool1"]} should == {ftc.tool1}"
56+
assert tools["tool1"] == ftc.tool1, f"{tools['tool1']} should == {ftc.tool1}"
5757

5858

5959
def test_add_tools_from_model_options_map():

0 commit comments

Comments
 (0)