summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_ftplib.py
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2013-12-15 18:50:13 (GMT)
committerChristian Heimes <christian@cheimes.de>2013-12-15 18:50:13 (GMT)
commitb2a794d235afd5da70ea1bc1c7f28a8379440a5b (patch)
treed59a49caff78b417ee8ed8e57c199a658cf8bd2a /Lib/test/test_ftplib.py
parentaab99fdd653b6959937ce6eb66192a8881768761 (diff)
downloadcpython-b2a794d235afd5da70ea1bc1c7f28a8379440a5b.zip
cpython-b2a794d235afd5da70ea1bc1c7f28a8379440a5b.tar.gz
cpython-b2a794d235afd5da70ea1bc1c7f28a8379440a5b.tar.bz2
fixed test_ftplib
Diffstat (limited to 'Lib/test/test_ftplib.py')
-rw-r--r--Lib/test/test_ftplib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_ftplib.py b/Lib/test/test_ftplib.py
index 7f3bebf..d0fd92e 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)