8000 gh-119400: make_ssl_certs: update reference test data automatically, pass in expiration dates as parameters #119400 by kanavin · Pull Request #119401 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-119400: make_ssl_certs: update reference test data automatically, pass in expiration dates as parameters #119400 #119401

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Sep 25, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Print trailing newlines to the reference files
  • Loading branch information
encukou authored Sep 25, 2024
commit be1396975c816d6536406792ac9c005c4b78646a
2 changes: 1 addition & 1 deletion Lib/test/certdata/make_ssl_certs.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ def write_cert_reference(path):
refdata = pprint.pformat(_ssl._test_decode_cert(path))
print(refdata)
with open(path + '.reference', 'w') as f:
f.write(refdata)
print(refdata, file=f)


if __name__ == '__main__':
Expand Down
Loading
0