diff options
-rw-r--r-- | Lib/test/test_httplib.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_httplib.py b/Lib/test/test_httplib.py index e68555a..4c1f165 100644 --- a/Lib/test/test_httplib.py +++ b/Lib/test/test_httplib.py @@ -554,6 +554,9 @@ class HTTPSTest(TestCase): def test_networked_trusted_by_default_cert(self): # Default settings: requires a valid cert from a trusted CA test_support.requires('network') + if test_support.verbose: + import ssl + print(ssl._create_default_https_context().get_ca_certs()) with test_support.transient_internet('www.python.org'): h = httplib.HTTPSConnection('www.python.org', 443) h.request('GET', '/') |