summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_nntplib.py
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-10-10 20:38:18 (GMT)
committerGitHub <noreply@github.com>2023-10-10 20:38:18 (GMT)
commitc2d542b42cd109d81c0308f9c4437c38ac74d2e0 (patch)
tree131fd8fe542771400ef3d2d1d632712cce445605 /Lib/test/test_nntplib.py
parent5b168fdd6fd0846fe1dac8b23866aec834db8283 (diff)
downloadcpython-c2d542b42cd109d81c0308f9c4437c38ac74d2e0.zip
cpython-c2d542b42cd109d81c0308f9c4437c38ac74d2e0.tar.gz
cpython-c2d542b42cd109d81c0308f9c4437c38ac74d2e0.tar.bz2
[3.12] gh-108303: Move all certificates to `Lib/test/certdata/` (GH-109489) (#109682)
* gh-108303: Move all certificates to `Lib/test/certdata/` (GH-109489) (cherry picked from commit e57ecf6bbc59f999d27b125ea51b042c24a07bd9) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> Python 3.12 backport: update also `test_nntplib`. Co-authored-by: Nikita Sobolev <mail@sobolevn.me> Co-authored-by: T. Wouters <thomas@python.org>
Diffstat (limited to 'Lib/test/test_nntplib.py')
-rw-r--r--Lib/test/test_nntplib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_nntplib.py b/Lib/test/test_nntplib.py
index 31a02f8..30ae557 100644
--- a/Lib/test/test_nntplib.py
+++ b/Lib/test/test_nntplib.py
@@ -20,7 +20,7 @@ except ImportError:
ssl = None
-certfile = os.path.join(os.path.dirname(__file__), 'keycert3.pem')
+certfile = os.path.join(os.path.dirname(__file__), 'certdata', 'keycert3.pem')
if ssl is not None:
SSLError = ssl.SSLError