[Python-checkins] cpython (merge 3.2 -> default): Issue #10860: Skip the new test if HTTPS is not available
petri.lehtinen
python-checkins at python.org
Wed Oct 26 20:30:58 CEST 2011
http://hg.python.org/cpython/rev/2dd106799aa9
changeset: 73137:2dd106799aa9
parent: 73134:5611acf6917c
parent: 73136:a3939c2f6727
user: Petri Lehtinen <petri at digip.org>
date: Wed Oct 26 21:29:54 2011 +0300
summary:
Issue #10860: Skip the new test if HTTPS is not available
files:
Lib/test/test_httplib.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/Lib/test/test_httplib.py b/Lib/test/test_httplib.py
--- a/Lib/test/test_httplib.py
+++ b/Lib/test/test_httplib.py
@@ -541,6 +541,8 @@
self.assertEqual(resp.status, 404)
del server
+ @unittest.skipIf(not hasattr(client, 'HTTPSConnection'),
+ 'http.client.HTTPSConnection not available')
def test_host_port(self):
# Check invalid host_port
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list