This commit is contained in:
Benjamin Peterson 2014-12-05 22:11:33 -05:00
commit 22293df016
4 changed files with 24 additions and 8 deletions

View file

@ -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: