]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #25591: Fix test_imaplib if ssl miss
authorVictor Stinner <victor.stinner@gmail.com>
Thu, 12 Jan 2017 10:51:31 +0000 (11:51 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Thu, 12 Jan 2017 10:51:31 +0000 (11:51 +0100)
Lib/test/test_imaplib.py

index 6e4a90fc255c30af4a382ed42253be99415e6907..a29b40ac235b951e0f462a555d518098b0187899 100644 (file)
@@ -477,7 +477,7 @@ class NewIMAPTests(NewIMAPTestsMixin, unittest.TestCase):
 
 @unittest.skipUnless(ssl, "SSL not available")
 class NewIMAPSSLTests(NewIMAPTestsMixin, unittest.TestCase):
-    imap_class = imaplib.IMAP4_SSL
+    imap_class = IMAP4_SSL
     server_class = SecureTCPServer
 
     def test_ssl_raises(self):