From 03586a9b0dd5518f9e6f95ba3d57b29f030d8537 Mon Sep 17 00:00:00 2001 From: wanyaokun <12345678> Date: Wed, 18 Sep 2024 10:30:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=AD=94=E9=A2=98=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E6=A0=BC=E5=BC=8F=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/unit_test/test_answer.py | 1 - 1 file changed, 1 deletion(-) diff --git a/backend/unit_test/test_answer.py b/backend/unit_test/test_answer.py index bb6ba7f..c094595 100644 --- a/backend/unit_test/test_answer.py +++ b/backend/unit_test/test_answer.py @@ -38,7 +38,6 @@ async def run_answer(prjflag:str,title:str,content:Dict[str,str], output_file:st outInfo = {f'{title}':results} with open(output_file, 'a', encoding='utf-8') as f: f.write(json.dumps(outInfo, ensure_ascii=False, indent=4)) - f.write(',\n') # 主异步函数 async def excute(prjflag:str,filePath:str,outFilePath:str):