Skip to content

Commit 08b1bba

Browse files
authored
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 3ee0e48 commit 08b1bba

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

976976
@unittest.skipUnless(
977977
support.is_resource_enabled('network'), 'network resource disabled')
978+
@unittest.skip('cyrus.andrew.cmu.edu blocks connections')
978979
class RemoteIMAPTest(unittest.TestCase):
979980
host = 'cyrus.andrew.cmu.edu'
980981
port = 143
@@ -1010,6 +1011,7 @@ def test_logout(self):
10101011
@unittest.skipUnless(ssl, "SSL not available")
10111012
@unittest.skipUnless(
10121013
support.is_resource_enabled('network'), 'network resource disabled')
1014+
@unittest.skip('cyrus.andrew.cmu.edu blocks connections')
10131015
class RemoteIMAP_STARTTLSTest(RemoteIMAPTest):
10141016

10151017
def setUp(self):
@@ -1025,6 +1027,7 @@ def test_logincapa(self):
10251027

10261028

10271029
@unittest.skipUnless(ssl, "SSL not available")
1030+
@unittest.skip('cyrus.andrew.cmu.edu blocks connections')
10281031
class RemoteIMAP_SSLTest(RemoteIMAPTest):
10291032
port = 993
10301033
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)