From 5c2bc796b19ad56f75e1783790079b081c64bf24 Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Fri, 4 Apr 2025 16:45:20 -0700 Subject: [PATCH] test fix test_hf_chat_template --- tests/llm_translation/test_prompt_factory.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/llm_translation/test_prompt_factory.py b/tests/llm_translation/test_prompt_factory.py index f994acc330..1a3c537613 100644 --- a/tests/llm_translation/test_prompt_factory.py +++ b/tests/llm_translation/test_prompt_factory.py @@ -795,9 +795,7 @@ def test_hf_chat_template(): print(chat_template) assert ( chat_template.rstrip() - == """You are a helpful assistant. -What is the weather in Copenhagen? -""" + == "You are a helpful assistant. What is the weather in Copenhagen?" )