summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_site.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2015-02-02 01:16:59 (GMT)
committerBenjamin Peterson <benjamin@python.org>2015-02-02 01:16:59 (GMT)
commit337578b242b4ad203333d995af8d2fe3bff2dc83 (patch)
treef7d5ef8bdf5c2e943f56907a351f0ae92b9652b2 /Lib/test/test_site.py
parentc0b743a97ba0d762a7d58ef1f93a051629be371b (diff)
downloadcpython-337578b242b4ad203333d995af8d2fe3bff2dc83.zip
cpython-337578b242b4ad203333d995af8d2fe3bff2dc83.tar.gz
cpython-337578b242b4ad203333d995af8d2fe3bff2dc83.tar.bz2
fix tests on systems that can't validate python.org
Diffstat (limited to 'Lib/test/test_site.py')
-rw-r--r--Lib/test/test_site.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_site.py b/Lib/test/test_site.py
index 8325222..f71cf73 100644
--- a/Lib/test/test_site.py
+++ b/Lib/test/test_site.py
@@ -412,6 +412,7 @@ class ImportSideEffectTests(unittest.TestCase):
self.fail("sitecustomize not imported automatically")
@test.support.requires_resource('network')
+ @test.support.system_must_validate_cert
@unittest.skipUnless(sys.version_info[3] == 'final',
'only for released versions')
@unittest.skipUnless(hasattr(urllib.request, "HTTPSHandler"),