[CI][RFC] Replace black-jupyter with ruff-format (#37210)
Co-authored-by: Alison Shao <a.shao@wustl.edu>
This commit is contained in:
co-authored by
Alison Shao
parent
2641e427be
commit
28262c20df
@@ -120,9 +120,9 @@ class TestEnableThinking:
|
||||
if "content" in delta and delta["content"]:
|
||||
has_content = True
|
||||
|
||||
assert (
|
||||
has_reasoning
|
||||
), "The reasoning content is not included in the stream response"
|
||||
assert has_reasoning, (
|
||||
"The reasoning content is not included in the stream response"
|
||||
)
|
||||
assert has_content, "The stream response does not contain normal content"
|
||||
|
||||
def test_stream_chat_completion_without_reasoning(self, setup_backend):
|
||||
@@ -162,7 +162,7 @@ class TestEnableThinking:
|
||||
if "content" in delta and delta["content"]:
|
||||
has_content = True
|
||||
|
||||
assert (
|
||||
not has_reasoning
|
||||
), "The reasoning content should not be included in the stream response"
|
||||
assert not has_reasoning, (
|
||||
"The reasoning content should not be included in the stream response"
|
||||
)
|
||||
assert has_content, "The stream response does not contain normal content"
|
||||
|
||||
Reference in New Issue
Block a user