Skip to content

Commit 7895a05

Browse files
authored
bpo-30231: Remove skipped test_imaplib tests (#1419) (#2193)
The public cyrus.andrew.cmu.edu IMAP server (port 993) doesn't accept TLS connection using our self-signed x509 certificate. Remove the two tests which are already skipped.
1 parent a3afdca commit 7895a05

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

Lib/test/test_imaplib.py

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -917,23 +917,6 @@ def test_logincapa(self):
917917
_server = self.imap_class(self.host, self.port)
918918
self.check_logincapa(_server)
919919

920-
@unittest.skipIf(True,
921-
"bpo-30175: FIXME: cyrus.andrew.cmu.edu doesn't accept "
922-
"our randomly generated client x509 certificate anymore")
923-
def test_logincapa_with_client_certfile(self):
924-
with transient_internet(self.host):
925-
_server = self.imap_class(self.host, self.port, certfile=CERTFILE)
926-
self.check_logincapa(_server)
927-
928-
@unittest.skipIf(True,
929-
"bpo-30175: FIXME: cyrus.andrew.cmu.edu doesn't accept "
930-
"our randomly generated client x509 certificate anymore")
931-
def test_logincapa_with_client_ssl_context(self):
932-
with transient_internet(self.host):
933-
_server = self.imap_class(
934-
self.host, self.port, ssl_context=self.create_ssl_context())
935-
self.check_logincapa(_server)
936-
937920
def test_logout(self):
938921
with transient_internet(self.host):
939922
_server = self.imap_class(self.host, self.port)

0 commit comments

Comments
 (0)