Skip to content

Commit f919179

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 ee3f7fe commit f919179

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
@@ -960,6 +960,7 @@ def test_ssl_verified(self):
960960

961961
@unittest.skipUnless(
962962
support.is_resource_enabled('network'), 'network resource disabled')
963+
@unittest.skip('cyrus.andrew.cmu.edu blocks connections')
963964
class RemoteIMAPTest(unittest.TestCase):
964965
host = 'cyrus.andrew.cmu.edu'
965966
port = 143
@@ -995,6 +996,7 @@ def test_logout(self):
995996
@unittest.skipUnless(ssl, "SSL not available")
996997
@unittest.skipUnless(
997998
support.is_resource_enabled('network'), 'network resource disabled')
999+
@unittest.skip('cyrus.andrew.cmu.edu blocks connections')
9981000
class RemoteIMAP_STARTTLSTest(RemoteIMAPTest):
9991001

10001002
def setUp(self):
@@ -1010,6 +1012,7 @@ def test_logincapa(self):
10101012

10111013

10121014
@unittest.skipUnless(ssl, "SSL not available")
1015+
@unittest.skip('cyrus.andrew.cmu.edu blocks connections')
10131016
class RemoteIMAP_SSLTest(RemoteIMAPTest):
10141017
port = 993
10151018
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)