mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-11 20:34:54 +00:00
fix: improve comparison via ruff lint
This commit is contained in:
parent
2abcc8ea0b
commit
17c66892b5
@ -237,7 +237,7 @@ async def test_flash_llama_grammar_tools_insufficient_information(
|
|||||||
stream=False,
|
stream=False,
|
||||||
)
|
)
|
||||||
|
|
||||||
assert responses.choices[0].message.tool_calls == None
|
assert responses.choices[0].message.tool_calls is None
|
||||||
assert (
|
assert (
|
||||||
responses.choices[0].message.content
|
responses.choices[0].message.content
|
||||||
== "There is no weather related function available to answer your prompt."
|
== "There is no weather related function available to answer your prompt."
|
||||||
|
Loading…
Reference in New Issue
Block a user