gh-108303: Move all certificates to Lib/test/certdata/ (#109489)

This commit is contained in:
Nikita Sobolev 2023-09-16 19:47:18 +03:00 committed by GitHub
parent 929cc4e4a0
commit e57ecf6bbc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
41 changed files with 31 additions and 28 deletions

View file

@ -29,8 +29,8 @@ if hasattr(poplib, 'POP3_SSL'):
import ssl
SUPPORTS_SSL = True
CERTFILE = os.path.join(os.path.dirname(__file__) or os.curdir, "keycert3.pem")
CAFILE = os.path.join(os.path.dirname(__file__) or os.curdir, "pycacert.pem")
CERTFILE = os.path.join(os.path.dirname(__file__) or os.curdir, "certdata", "keycert3.pem")
CAFILE = os.path.join(os.path.dirname(__file__) or os.curdir, "certdata", "pycacert.pem")
requires_ssl = skipUnless(SUPPORTS_SSL, 'SSL not supported')