Skip to content

Commit

Permalink
change the language
Browse files Browse the repository at this point in the history
  • Loading branch information
iYingg committed Dec 16, 2024
1 parent 4ba27f5 commit 707fb34
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 707fb34

Please sign in to comment.