summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-01-12 10:51:31 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2017-01-12 10:51:31 (GMT)
commitde383289ea4b029028f2ca0bf7e2e27441b99025 (patch)
treeef4108f23f29393e8a873cac2ce6195b2a575ae9
parent87006a3d4a6c7616ab885ae697ae60a2f62e2d7a (diff)
downloadcpython-de383289ea4b029028f2ca0bf7e2e27441b99025.zip
cpython-de383289ea4b029028f2ca0bf7e2e27441b99025.tar.gz
cpython-de383289ea4b029028f2ca0bf7e2e27441b99025.tar.bz2
Issue #25591: Fix test_imaplib if ssl miss
-rw-r--r--Lib/test/test_imaplib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_imaplib.py b/Lib/test/test_imaplib.py
index 6e4a90f..a29b40a 100644
--- a/Lib/test/test_imaplib.py
+++ b/Lib/test/test_imaplib.py
@@ -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):