summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_imaplib.py
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2020-06-12 18:54:03 (GMT)
committerGitHub <noreply@github.com>2020-06-12 18:54:03 (GMT)
commit08b1bbab6bfa1ff726db13a9fc3885329f73dca4 (patch)
treef3c5ba4241168caff91406e62a13f5f6e1493033 /Lib/test/test_imaplib.py
parent3ee0e48b0376a710c08eec6f30e4181563b192a2 (diff)
downloadcpython-08b1bbab6bfa1ff726db13a9fc3885329f73dca4.zip
cpython-08b1bbab6bfa1ff726db13a9fc3885329f73dca4.tar.gz
cpython-08b1bbab6bfa1ff726db13a9fc3885329f73dca4.tar.bz2
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 <christian@python.org>
Diffstat (limited to 'Lib/test/test_imaplib.py')
-rw-r--r--Lib/test/test_imaplib.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_imaplib.py b/Lib/test/test_imaplib.py
index f93efba..b8ab677 100644
--- a/Lib/test/test_imaplib.py
+++ b/Lib/test/test_imaplib.py
@@ -975,6 +975,7 @@ class ThreadedNetworkedTestsSSL(ThreadedNetworkedTests):
@unittest.skipUnless(
support.is_resource_enabled('network'), 'network resource disabled')
+@unittest.skip('cyrus.andrew.cmu.edu blocks connections')
class RemoteIMAPTest(unittest.TestCase):
host = 'cyrus.andrew.cmu.edu'
port = 143
@@ -1010,6 +1011,7 @@ class RemoteIMAPTest(unittest.TestCase):
@unittest.skipUnless(ssl, "SSL not available")
@unittest.skipUnless(
support.is_resource_enabled('network'), 'network resource disabled')
+@unittest.skip('cyrus.andrew.cmu.edu blocks connections')
class RemoteIMAP_STARTTLSTest(RemoteIMAPTest):
def setUp(self):
@@ -1025,6 +1027,7 @@ class RemoteIMAP_STARTTLSTest(RemoteIMAPTest):
@unittest.skipUnless(ssl, "SSL not available")
+@unittest.skip('cyrus.andrew.cmu.edu blocks connections')
class RemoteIMAP_SSLTest(RemoteIMAPTest):
port = 993
imap_class = IMAP4_SSL