summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_imaplib.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-04-27 16:25:03 (GMT)
committerGitHub <noreply@github.com>2017-04-27 16:25:03 (GMT)
commit4dc3b9cf2a868a8378ecbc2221a15e7b59e8e944 (patch)
treebd36efa93d2cf43a841e2c20d512c9bc48968c95 /Lib/test/test_imaplib.py
parent33a5568f69301562d536852d12b9e03cd8dfc3a4 (diff)
downloadcpython-4dc3b9cf2a868a8378ecbc2221a15e7b59e8e944.zip
cpython-4dc3b9cf2a868a8378ecbc2221a15e7b59e8e944.tar.gz
cpython-4dc3b9cf2a868a8378ecbc2221a15e7b59e8e944.tar.bz2
bpo-30175: Skip client cert tests of test_imaplib (#1320) (#1323)
* bpo-30175: Skip client cert tests of test_imaplib The IMAP server cyrus.andrew.cmu.edu doesn't accept our randomly generated client x509 certificate anymore. * bpo-30188: Catch EOFError in NetworkedNNTPTests test_nntplib fails randomly with EOFError in NetworkedNNTPTests.setUpClass(). Catch EOFError to skip tests in that case. (cherry picked from commit 5bccca58b9b2b3a925b16750bedbd907695ea8d7)
Diffstat (limited to 'Lib/test/test_imaplib.py')
-rw-r--r--Lib/test/test_imaplib.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/Lib/test/test_imaplib.py b/Lib/test/test_imaplib.py
index fac6b57..9df37b1 100644
--- a/Lib/test/test_imaplib.py
+++ b/Lib/test/test_imaplib.py
@@ -966,6 +966,9 @@ class RemoteIMAP_SSLTest(RemoteIMAPTest):
_server = self.imap_class(self.host, self.port)
self.check_logincapa(_server)
+ @unittest.skipIf(True,
+ "bpo-30175: FIXME: cyrus.andrew.cmu.edu doesn't accept "
+ "our randomly generated client x509 certificate anymore")
def test_logincapa_with_client_certfile(self):
with transient_internet(self.host):
with support.check_warnings(('', DeprecationWarning)):
@@ -973,6 +976,9 @@ class RemoteIMAP_SSLTest(RemoteIMAPTest):
certfile=CERTFILE)
self.check_logincapa(_server)
+ @unittest.skipIf(True,
+ "bpo-30175: FIXME: cyrus.andrew.cmu.edu doesn't accept "
+ "our randomly generated client x509 certificate anymore")
def test_logincapa_with_client_ssl_context(self):
with transient_internet(self.host):
_server = self.imap_class(