Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit de38328

Browse files
committed
Issue #25591: Fix test_imaplib if ssl miss
1 parent 87006a3 commit de38328

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/test_imaplib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ class NewIMAPTests(NewIMAPTestsMixin, unittest.TestCase):
477477

478478
@unittest.skipUnless(ssl, "SSL not available")
479479
class NewIMAPSSLTests(NewIMAPTestsMixin, unittest.TestCase):
480-
imap_class = imaplib.IMAP4_SSL
480+
imap_class = IMAP4_SSL
481481
server_class = SecureTCPServer
482482

483483
def test_ssl_raises(self):

0 commit comments

Comments
 (0)