From 707fb34bf6f1ef86d42a1365d5a7fa21020e5d64 Mon Sep 17 00:00:00 2001 From: zhujintao <2030442731@qq.com> Date: Mon, 16 Dec 2024 15:11:12 +0800 Subject: [PATCH] change the language --- tests/test_examples.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/test_examples.py b/tests/test_examples.py index 5e8b6c29..0bbd92d5 100644 --- a/tests/test_examples.py +++ b/tests/test_examples.py @@ -232,10 +232,9 @@ def filter_examples_json(all_examples_json: dict, bypass_titles: list): print("\n".join(f"{key} -- {value}" for key, value in all_examples_json.items())) print("====================================") with open(os.path.join(base_path, "..", "time_taken.txt"), "a") as f: - f.write(f"| json文件 | 耗时 |\n|:--:|:--:|\n") + f.write(f"| title and file | timetaken |\n|:--:|:--:|\n") for title, file in all_examples_json.items(): print(f"Running example: {title} - {file}") - # 将 title-file 续写入到 base_path/../time_taken.txt with open(os.path.join(base_path, "..", "time_taken.txt"), "a") as f: f.write(f"| {title} - {file} |") launch_prompt(