From 115f638fd7a3b339d651178e06ad453c8c254216 Mon Sep 17 00:00:00 2001 From: DavdGao Date: Fri, 6 Sep 2024 22:55:10 +0800 Subject: [PATCH] Fix errors --- tests/dashscope_services_test.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/tests/dashscope_services_test.py b/tests/dashscope_services_test.py index 198325e7f..ebad64e7b 100644 --- a/tests/dashscope_services_test.py +++ b/tests/dashscope_services_test.py @@ -235,12 +235,7 @@ def test_dashscope_image_to_text_failure( self.assertEqual(results.status, expected_result.status) self.assertEqual(results.content, expected_result.content) - @patch( - ( - "agentscope.service.multi_modality.dashscope_services." - "SpeechSynthesizer" - ), - ) + @patch("dashscope.audio.tts.SpeechSynthesizer") @patch("agentscope.service.multi_modality.dashscope_services.os.makedirs") @patch( "agentscope.service.multi_modality.dashscope_services.os.path.exists",