]> granicus.if.org Git - python/commitdiff
fixed test_ftplib
authorChristian Heimes <christian@cheimes.de>
Sun, 15 Dec 2013 18:50:13 +0000 (19:50 +0100)
committerChristian Heimes <christian@cheimes.de>
Sun, 15 Dec 2013 18:50:13 +0000 (19:50 +0100)
Lib/test/test_ftplib.py

index 7f3bebfa55c8dddf9e6161ebc27695a826f1b3af..d0fd92ee1a34409b497457a0a3205ebc8605f1e2 100644 (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)