mirror of https://github.com/python/cpython
fixed test_ftplib
This commit is contained in:
parent
aab99fdd65
commit
b2a794d235
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue