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):