Skip to content

Commit 9674030

Browse files
author
root
committed
case format
1 parent b87fd2c commit 9674030

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

tests/engine/test_decode_token.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,7 @@ def test_incremental_decoding_and_cleanup(self):
7676
def test_undecoded_tokens_on_end(self):
7777
"""Test that tokens which produce no visible text during streaming
7878
are force-decoded when is_end=True"""
79-
with patch.object(
80-
envs, "FD_ENABLE_RETURN_TEXT", True
81-
), patch.dict(os.environ, {"DEBUG_DECODE": "1"}):
79+
with patch.object(envs, "FD_ENABLE_RETURN_TEXT", True), patch.dict(os.environ, {"DEBUG_DECODE": "1"}):
8280
all_delta = ""
8381

8482
delta_text, _ = self.engine._decode_token([109584], self.req_id, is_end=False)

0 commit comments

Comments
 (0)