Skip to content

Commit adce133

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 a3d6d23 commit adce133

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

912912
@unittest.skipUnless(
913913
support.is_resource_enabled('network'), 'network resource disabled')
914+
@unittest.skip('cyrus.andrew.cmu.edu blocks connections')
914915
class RemoteIMAPTest(unittest.TestCase):
915916
host = 'cyrus.andrew.cmu.edu'
916917
port = 143
@@ -946,6 +947,7 @@ def test_logout(self):
946947
@unittest.skipUnless(ssl, "SSL not available")
947948
@unittest.skipUnless(
948949
support.is_resource_enabled('network'), 'network resource disabled')
950+
@unittest.skip('cyrus.andrew.cmu.edu blocks connections')
949951
class RemoteIMAP_STARTTLSTest(RemoteIMAPTest):
950952

951953
def setUp(self):
@@ -961,6 +963,7 @@ def test_logincapa(self):
961963

962964

963965
@unittest.skipUnless(ssl, "SSL not available")
966+
@unittest.skip('cyrus.andrew.cmu.edu blocks connections')
964967
class RemoteIMAP_SSLTest(RemoteIMAPTest):
965968
port = 993
966969
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)