[Python-checkins] cpython (2.7): #16039/#20118: temporarily skip failing imaplib SSL test.

r.david.murray python-checkins at python.org
Fri Jan 3 23:27:34 CET 2014


http://hg.python.org/cpython/rev/d7ae948d9eee
changeset:   88286:d7ae948d9eee
branch:      2.7
parent:      88280:dd906f4ab923
user:        R David Murray <rdmurray at bitdance.com>
date:        Fri Jan 03 17:26:21 2014 -0500
summary:
  #16039/#20118: temporarily skip failing imaplib SSL test.

The fix the test is testing prevents a DOS attack, and the failure
mode will also prevent the DOS attack, so for now skip the test.
Either the test or the code does need fixing, however.

files:
  Lib/test/test_imaplib.py |  3 +++
  1 files changed, 3 insertions(+), 0 deletions(-)


diff --git a/Lib/test/test_imaplib.py b/Lib/test/test_imaplib.py
--- a/Lib/test/test_imaplib.py
+++ b/Lib/test/test_imaplib.py
@@ -187,6 +187,9 @@
     server_class = SecureTCPServer
     imap_class = IMAP4_SSL
 
+    def test_linetoolong(self):
+        raise unittest.SkipTest("test is not reliable on 2.7; see issue 20118")
+
 
 class RemoteIMAPTest(unittest.TestCase):
     host = 'cyrus.andrew.cmu.edu'

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list