mirror of
https://github.com/python/cpython.git
synced 2025-08-22 01:35:16 +00:00
Issue #10860: Skip the new test if HTTPS is not available
This commit is contained in:
parent
63c54e819e
commit
6d089df1b8
1 changed files with 1 additions and 0 deletions
|
@ -441,6 +441,7 @@ class HTTPSTimeoutTest(TestCase):
|
|||
h = httplib.HTTPSConnection(HOST, TimeoutTest.PORT, timeout=30)
|
||||
self.assertEqual(h.timeout, 30)
|
||||
|
||||
@unittest.skipIf(not hasattr(httplib, 'HTTPS'), 'httplib.HTTPS not available')
|
||||
def test_host_port(self):
|
||||
# Check invalid host_port
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue