From 75585d01f0014c066039605a6f97d58e29d85293 Mon Sep 17 00:00:00 2001 From: BUAADreamer <1428195643@qq.com> Date: Tue, 10 Sep 2024 13:29:09 +0800 Subject: [PATCH] try to past test Former-commit-id: 0042a144d532aecd0159956d6a275eb9fbfa305d --- tests/data/test_mm_plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/data/test_mm_plugin.py b/tests/data/test_mm_plugin.py index bbd13611..722d093e 100644 --- a/tests/data/test_mm_plugin.py +++ b/tests/data/test_mm_plugin.py @@ -142,7 +142,7 @@ def test_idefics2_plugin(): check_inputs = {"plugin": idefics2_plugin, "tokenizer": tokenizer, "processor": processor} mm_messages = copy.deepcopy(MM_MESSAGES) fake_image_token = processor.fake_image_token.content - image_str = f"{fake_image_token}{"" * processor.image_seq_len}{fake_image_token}" + image_str = f"{fake_image_token}{'' * processor.image_seq_len}{fake_image_token}" image_str = image_str * 5 for message in mm_messages: content = message["content"]