summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2020-06-12 18:54:03 (GMT)
committerNed Deily <nad@python.org>2020-06-12 19:08:32 (GMT)
commitadce133378be75bcac4d61fd62a151852555000f (patch)
treee3b3e3b1c4fe3c72c9987bff1eac48098672bd12
parenta3d6d23a923d62a713b9e4536d5f7ce7313d99c7 (diff)
downloadcpython-adce133378be75bcac4d61fd62a151852555000f.zip
cpython-adce133378be75bcac4d61fd62a151852555000f.tar.gz
cpython-adce133378be75bcac4d61fd62a151852555000f.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>
-rw-r--r--Lib/test/test_imaplib.py3
-rw-r--r--Misc/NEWS.d/next/Tests/2020-06-12-20-46-23.bpo-40964.OBzf2c.rst2
2 files changed, 5 insertions, 0 deletions
diff --git a/Lib/test/test_imaplib.py b/Lib/test/test_imaplib.py
index 03cffbe..06ea86b 100644
--- a/Lib/test/test_imaplib.py
+++ b/Lib/test/test_imaplib.py
@@ -911,6 +911,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
@@ -946,6 +947,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):
@@ -961,6 +963,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
diff --git a/Misc/NEWS.d/next/Tests/2020-06-12-20-46-23.bpo-40964.OBzf2c.rst b/Misc/NEWS.d/next/Tests/2020-06-12-20-46-23.bpo-40964.OBzf2c.rst
new file mode 100644
index 0000000..abfe4f0
--- /dev/null
+++ b/Misc/NEWS.d/next/Tests/2020-06-12-20-46-23.bpo-40964.OBzf2c.rst
@@ -0,0 +1,2 @@
+Disable remote :mod:`imaplib` tests, host cyrus.andrew.cmu.edu is blocking
+incoming connections.