Skip to content

Commit be13969

Browse files
authored
Print trailing newlines to the reference files
1 parent 4bff2d1 commit be13969

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/certdata/make_ssl_certs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ def write_cert_reference(path):
228228
refdata = pprint.pformat(_ssl._test_decode_cert(path))
229229
print(refdata)
230230
with open(path + '.reference', 'w') as f:
231-
f.write(refdata)
231+
print(refdata, file=f)
232232

233233

234234
if __name__ == '__main__':

0 commit comments

Comments
 (0)