commit | e119c403a12d2a04e894a7e61c8693084e2b21c8 | [log] [tgz] |
---|---|---|
author | Petri Lehtinen <petri@digip.org> | Wed Oct 26 21:29:15 2011 +0300 |
committer | Petri Lehtinen <petri@digip.org> | Wed Oct 26 21:29:15 2011 +0300 |
tree | 9b049d54690a99e265f565dfe59f8d9a8c1450cb | |
parent | fbb39815d423db0d9f413a753aa5e168ee83fe1d [diff] [blame] |
Issue #10860: Skip the new test if HTTPS is not available
diff --git a/Lib/test/test_httplib.py b/Lib/test/test_httplib.py index 8a328a9..ff03321 100644 --- a/Lib/test/test_httplib.py +++ b/Lib/test/test_httplib.py
@@ -541,6 +541,8 @@ resp = h.getresponse() self.assertEqual(resp.status, 404) + @unittest.skipIf(not hasattr(client, 'HTTPSConnection'), + 'http.client.HTTPSConnection not available') def test_host_port(self): # Check invalid host_port