commit | cc9695643fc40780f51719d5e9a272283a743077 | [log] [tgz] |
---|---|---|
author | Petri Lehtinen <petri@digip.org> | Wed Oct 26 21:29:54 2011 +0300 |
committer | Petri Lehtinen <petri@digip.org> | Wed Oct 26 21:29:54 2011 +0300 |
tree | 487cc3946dacaa25a538bb4f860d6508823e72da | |
parent | b9e46e95f8b0b85fc97e119c008bae32f585c405 [diff] | |
parent | e119c403a12d2a04e894a7e61c8693084e2b21c8 [diff] |
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 ba97da2..a10c09d 100644 --- 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