diff options
author | Christian Heimes <christian@python.org> | 2020-06-12 20:54:03 +0200 |
---|---|---|
committer | Ned Deily <nad@python.org> | 2020-06-12 15:06:20 -0400 |
commit | f91917908749cb595113f8d8428ae1d6241f0392 (patch) | |
tree | 590c49ae3de46b39dbf83f6f98f15061b8a75ada | |
parent | ee3f7fee94915ab4f34c92d6c89b211de476660d (diff) | |
download | cpython-git-f91917908749cb595113f8d8428ae1d6241f0392.tar.gz |
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.py | 3 | ||||
-rw-r--r-- | Misc/NEWS.d/next/Tests/2020-06-12-20-46-23.bpo-40964.OBzf2c.rst | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/Lib/test/test_imaplib.py b/Lib/test/test_imaplib.py index d1e3550868..914a75a6ad 100644 --- a/Lib/test/test_imaplib.py +++ b/Lib/test/test_imaplib.py @@ -960,6 +960,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 @@ -995,6 +996,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): @@ -1010,6 +1012,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 0000000000..abfe4f0da4 --- /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. |