From b2a794d235afd5da70ea1bc1c7f28a8379440a5b Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Sun, 15 Dec 2013 19:50:13 +0100 Subject: [PATCH] fixed test_ftplib --- Lib/test/test_ftplib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_ftplib.py b/Lib/test/test_ftplib.py index 7f3bebfa55..d0fd92ee1a 100644 --- a/Lib/test/test_ftplib.py +++ b/Lib/test/test_ftplib.py @@ -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) -- 2.40.0