Skip to content

Commit 0abb70e

Browse files
tiranned-deily
authored andcommitted
bpo-40964: disable remote IMAP tests (GH-20836)
Remote host cyrus.andrew.cmu.edu is blocking incoming connections and is causing test suite to fail. Signed-off-by: Christian Heimes <[email protected]>
1 parent ebd4400 commit 0abb70e

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

Lib/test/test_imaplib.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -908,6 +908,7 @@ def test_ssl_verified(self):
908908

909909
@unittest.skipUnless(
910910
support.is_resource_enabled('network'), 'network resource disabled')
911+
@unittest.skip('cyrus.andrew.cmu.edu blocks connections')
911912
class RemoteIMAPTest(unittest.TestCase):
912913
host = 'cyrus.andrew.cmu.edu'
913914
port = 143
@@ -943,6 +944,7 @@ def test_logout(self):
943944
@unittest.skipUnless(ssl, "SSL not available")
944945
@unittest.skipUnless(
945946
support.is_resource_enabled('network'), 'network resource disabled')
947+
@unittest.skip('cyrus.andrew.cmu.edu blocks connections')
946948
class RemoteIMAP_STARTTLSTest(RemoteIMAPTest):
947949

948950
def setUp(self):
@@ -958,6 +960,7 @@ def test_logincapa(self):
958960

959961

960962
@unittest.skipUnless(ssl, "SSL not available")
963+
@unittest.skip('cyrus.andrew.cmu.edu blocks connections')
961964
class RemoteIMAP_SSLTest(RemoteIMAPTest):
962965
port = 993
963966
imap_class = IMAP4_SSL
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Disable remote :mod:`imaplib` tests, host cyrus.andrew.cmu.edu is blocking
2+
incoming connections.

0 commit comments

Comments
 (0)