[Python-checkins] cpython: fixed test_ftplib

christian.heimes python-checkins at python.org
Sun Dec 15 19:50:23 CET 2013


http://hg.python.org/cpython/rev/6cb93e45a3be
changeset: 87966:6cb93e45a3be
user: Christian Heimes <christian at cheimes.de>
date: Sun Dec 15 19:50:13 2013 +0100
summary:
 fixed test_ftplib
files:
 Lib/test/test_ftplib.py | 2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Lib/test/test_ftplib.py b/Lib/test/test_ftplib.py
--- a/Lib/test/test_ftplib.py
+++ b/Lib/test/test_ftplib.py
@@ -927,7 +927,7 @@
 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)
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /