]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-40964: disable remote IMAP tests (GH-20836)
authorChristian Heimes <christian@python.org>
Fri, 12 Jun 2020 18:54:03 +0000 (20:54 +0200)
committerNed Deily <nad@python.org>
Fri, 12 Jun 2020 19:08:32 +0000 (15:08 -0400)
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>
Lib/test/test_imaplib.py
Misc/NEWS.d/next/Tests/2020-06-12-20-46-23.bpo-40964.OBzf2c.rst [new file with mode: 0644]

index 03cffbe39c6c71372e630a52657ffc9b07f7a160..06ea86b59c4821f66d73459f559c46166d7732bb 100644 (file)
@@ -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 (file)
index 0000000..abfe4f0
--- /dev/null
@@ -0,0 +1,2 @@
+Disable remote :mod:`imaplib` tests, host cyrus.andrew.cmu.edu is blocking
+incoming connections.