summaryrefslogtreecommitdiff
path: root/Lib/test/test_ftplib.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2014-12-05 21:59:35 -0500
committerBenjamin Peterson <benjamin@python.org>2014-12-05 21:59:35 -0500
commite32467cf6af3e6d113ae2cfd886e403828e23fed (patch)
tree2e6c2e4a1423c91746cb46503aa73073bdc28b07 /Lib/test/test_ftplib.py
parent81f01fb104683fdfd099b78e5b7b1793a36458c3 (diff)
downloadcpython-git-e32467cf6af3e6d113ae2cfd886e403828e23fed.tar.gz
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 fa9c6f440c..d3be7d6d00 100644
--- a/Lib/test/test_ftplib.py
+++ b/Lib/test/test_ftplib.py
@@ -889,7 +889,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: