summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_httplib.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2014-11-25 21:16:55 (GMT)
committerBenjamin Peterson <benjamin@python.org>2014-11-25 21:16:55 (GMT)
commit2615e9e29309bae509d70039f08b452cd3281700 (patch)
tree041952eb80f85a9920fb3d506a563e31ec162626 /Lib/test/test_httplib.py
parent5ef586f25a6d5128a15341e849d7dca4fe882d22 (diff)
downloadcpython-2615e9e29309bae509d70039f08b452cd3281700.zip
cpython-2615e9e29309bae509d70039f08b452cd3281700.tar.gz
cpython-2615e9e29309bae509d70039f08b452cd3281700.tar.bz2
don't fail tests when www.python.org can't be validated by the system
Diffstat (limited to 'Lib/test/test_httplib.py')
-rw-r--r--Lib/test/test_httplib.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_httplib.py b/Lib/test/test_httplib.py
index d259fb2..3b57d09 100644
--- a/Lib/test/test_httplib.py
+++ b/Lib/test/test_httplib.py
@@ -794,6 +794,7 @@ class HTTPSTest(TestCase):
resp = h.getresponse()
self.assertIn('nginx', resp.getheader('server'))
+ @support.system_must_validate_cert
def test_networked_trusted_by_default_cert(self):
# Default settings: requires a valid cert from a trusted CA
support.requires('network')