summaryrefslogtreecommitdiff
path: root/Lib/test/test_imaplib.py
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2014-01-03 17:26:21 -0500
committerR David Murray <rdmurray@bitdance.com>2014-01-03 17:26:21 -0500
commit1d2ef64df640fd76acad27514e01de00e3d80748 (patch)
tree98e07e97f10a8000434db64352c3fe0724d9814d /Lib/test/test_imaplib.py
parent020d7c379afe7edc7b5437c29b434ecc059e6a76 (diff)
downloadcpython-git-1d2ef64df640fd76acad27514e01de00e3d80748.tar.gz
#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.
Diffstat (limited to 'Lib/test/test_imaplib.py')
-rw-r--r--Lib/test/test_imaplib.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_imaplib.py b/Lib/test/test_imaplib.py
index 32bfa11398..1beb39e386 100644
--- a/Lib/test/test_imaplib.py
+++ b/Lib/test/test_imaplib.py
@@ -187,6 +187,9 @@ class ThreadedNetworkedTestsSSL(BaseThreadedNetworkedTests):
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'