summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_ftplib.py
diff options
context:
space:
mode:
authorNikita Sobolev <mail@sobolevn.me>2023-09-16 16:47:18 (GMT)
committerGitHub <noreply@github.com>2023-09-16 16:47:18 (GMT)
commite57ecf6bbc59f999d27b125ea51b042c24a07bd9 (patch)
treeeee25e43586f414e46daf2933678c435aa77de90 /Lib/test/test_ftplib.py
parent929cc4e4a0999b777e1aa94f9c007db720e67f43 (diff)
downloadcpython-e57ecf6bbc59f999d27b125ea51b042c24a07bd9.zip
cpython-e57ecf6bbc59f999d27b125ea51b042c24a07bd9.tar.gz
cpython-e57ecf6bbc59f999d27b125ea51b042c24a07bd9.tar.bz2
gh-108303: Move all certificates to `Lib/test/certdata/` (#109489)
Diffstat (limited to 'Lib/test/test_ftplib.py')
-rw-r--r--Lib/test/test_ftplib.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_ftplib.py b/Lib/test/test_ftplib.py
index 544228e..bebd1bb 100644
--- a/Lib/test/test_ftplib.py
+++ b/Lib/test/test_ftplib.py
@@ -325,8 +325,8 @@ class DummyFTPServer(asyncore.dispatcher, threading.Thread):
if ssl is not None:
- CERTFILE = os.path.join(os.path.dirname(__file__), "keycert3.pem")
- CAFILE = os.path.join(os.path.dirname(__file__), "pycacert.pem")
+ CERTFILE = os.path.join(os.path.dirname(__file__), "certdata", "keycert3.pem")
+ CAFILE = os.path.join(os.path.dirname(__file__), "certdata", "pycacert.pem")
class SSLConnection(asyncore.dispatcher):
"""An asyncore.dispatcher subclass supporting TLS/SSL."""