Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81d968b commit 3c4abfaCopy full SHA for 3c4abfa
1 file changed
Lib/test/libregrtest/refleak.py
@@ -142,7 +142,7 @@ def check_fd_deltas(deltas):
142
msg = '%s leaked %s %s, sum=%s' % (
143
test_name, deltas, item_name, sum(deltas))
144
print(msg, file=sys.stderr, flush=True)
145
- with open(fname, "a") as refrep:
+ with open(fname, "a", encoding="utf-8") as refrep:
146
print(msg, file=refrep)
147
refrep.flush()
148
failed = True
0 commit comments