summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_ftplib.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2014-12-06 02:59:35 (GMT)
committerBenjamin Peterson <benjamin@python.org>2014-12-06 02:59:35 (GMT)
commit60766c47e7008149e3f4091bebe9ee25a0b98bd2 (patch)
treec26174e2e5e203bc1abff7f73f9f56280349a4a0 /Lib/test/test_ftplib.py
parent238afb796c2f4368b9968d630f5ffa1e9460ed18 (diff)
downloadcpython-60766c47e7008149e3f4091bebe9ee25a0b98bd2.zip
cpython-60766c47e7008149e3f4091bebe9ee25a0b98bd2.tar.gz
cpython-60766c47e7008149e3f4091bebe9ee25a0b98bd2.tar.bz2
allow ssl module to compile if openssl doesn't support SSL 3 (closes #22935)
Patch by Kurt Roeckx.
Diffstat (limited to 'Lib/test/test_ftplib.py')
-rw-r--r--Lib/test/test_ftplib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_ftplib.py b/Lib/test/test_ftplib.py
index 952ac99..4c229c0 100644
--- a/Lib/test/test_ftplib.py
+++ b/Lib/test/test_ftplib.py
@@ -689,7 +689,7 @@ class TestTLS_FTPClass(TestCase):
def test_auth_ssl(self):
try:
- self.client.ssl_version = ssl.PROTOCOL_SSLv3
+ self.client.ssl_version = ssl.PROTOCOL_SSLv23
self.client.auth()
self.assertRaises(ValueError, self.client.auth)
finally: