[Python-checkins] bpo-40964: disable remote IMAP tests (GH-20836)

Ned Deily webhook-mailer at python.org
Fri Jun 12 15:09:35 EDT 2020


https://github.com/python/cpython/commit/adce133378be75bcac4d61fd62a151852555000f
commit: adce133378be75bcac4d61fd62a151852555000f
branch: 3.8
author: Christian Heimes <christian at python.org>
committer: Ned Deily <nad at python.org>
date: 2020-06-12T15:08:32-04:00
summary:

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 at python.org>

files:
A Misc/NEWS.d/next/Tests/2020-06-12-20-46-23.bpo-40964.OBzf2c.rst
M Lib/test/test_imaplib.py

diff --git a/Lib/test/test_imaplib.py b/Lib/test/test_imaplib.py
index 03cffbe39c6c7..06ea86b59c482 100644
--- a/Lib/test/test_imaplib.py
+++ b/Lib/test/test_imaplib.py
@@ -911,6 +911,7 @@ def test_ssl_verified(self):
 
 @unittest.skipUnless(
     support.is_resource_enabled('network'), 'network resource disabled')
+ at unittest.skip('cyrus.andrew.cmu.edu blocks connections')
 class RemoteIMAPTest(unittest.TestCase):
     host = 'cyrus.andrew.cmu.edu'
     port = 143
@@ -946,6 +947,7 @@ def test_logout(self):
 @unittest.skipUnless(ssl, "SSL not available")
 @unittest.skipUnless(
     support.is_resource_enabled('network'), 'network resource disabled')
+ at unittest.skip('cyrus.andrew.cmu.edu blocks connections')
 class RemoteIMAP_STARTTLSTest(RemoteIMAPTest):
 
     def setUp(self):
@@ -961,6 +963,7 @@ def test_logincapa(self):
 
 
 @unittest.skipUnless(ssl, "SSL not available")
+ at 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 0000000000000..abfe4f0da4351
--- /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.



More information about the Python-checkins mailing list