fixed test_ftplib

This commit is contained in:
Christian Heimes 2013-12-15 19:50:13 +01:00
parent aab99fdd65
commit b2a794d235
1 changed files with 1 additions and 1 deletions

View File

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