Skip to content

Commit 75c91c1

Browse files
committed
Make refresh_reference_files work on windows
1 parent 6646766 commit 75c91c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/refresh_reference_files.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def _main():
2828
plt.close()
2929

3030
tex_filename = filename[:-3] + "_reference.tex"
31-
with open(os.path.join(this_dir, tex_filename), "w") as f:
31+
with open(os.path.join(this_dir, tex_filename), "w", encoding="utf8") as f:
3232
f.write(code)
3333
return
3434

0 commit comments

Comments
 (0)