Skip to content

Commit 3467da8

Browse files
committed
Specify encoding
1 parent ae216e2 commit 3467da8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/snippets/test/fixtures/python/runner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def gen(x, name):
5555
filepath = os.path.join(DIR, name)
5656

5757
# Write the data to the output filepath as JSON:
58-
with open(filepath, "w") as outfile:
58+
with open(filepath, "w", encoding="utf-8") as outfile:
5959
json.dump(data, outfile)
6060

6161

0 commit comments

Comments
 (0)