From: Benjamin Peterson Date: Mon, 2 Feb 2015 01:16:59 +0000 (-0500) Subject: fix tests on systems that can't validate python.org X-Git-Tag: v3.4.3rc1~37 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=337578b242b4ad203333d995af8d2fe3bff2dc83;p=python fix tests on systems that can't validate python.org --- diff --git a/Lib/test/test_site.py b/Lib/test/test_site.py index 83252227ec..f71cf73330 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"),