Commit d12eaae7 authored by Christian Heimes's avatar Christian Heimes

fixed test_ftplib

parent 0c2022ac
......@@ -927,7 +927,7 @@ class TestTLS_FTPClass(TestCase):
self.client.ccc()
self.assertRaises(ValueError, self.client.sock.unwrap)
@unittest.skipUnless(HAS_SNI, 'No SNI support in ssl module')
@skipUnless(HAS_SNI, 'No SNI support in ssl module')
def test_check_hostname(self):
self.client.quit()
ctx = ssl.SSLContext(ssl.PROTOCOL_TLSv1)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment