From 337578b242b4ad203333d995af8d2fe3bff2dc83 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Sun, 1 Feb 2015 20:16:59 -0500 Subject: [PATCH 1/2] fix tests on systems that can't validate python.org --- Lib/test/test_site.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/test/test_site.py b/Lib/test/test_site.py index 83252227ec2..f71cf733308 100644 --- a/Lib/test/test_site.py +++ b/Lib/test/test_site.py @@ -412,6 +412,7 @@ def test_sitecustomize_executed(self): 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"), From d40f136d35cbe2ac4dd5b3bc8e3474343865b8dd Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Sun, 1 Feb 2015 20:17:22 -0500 Subject: [PATCH 2/2] https goodness --- Lib/site.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/site.py b/Lib/site.py index c0149b490de..ad5d136ac0e 100644 --- a/Lib/site.py +++ b/Lib/site.py @@ -373,7 +373,7 @@ def setcopyright(): dirs.extend([os.path.join(here, os.pardir), here, os.curdir]) builtins.license = _sitebuiltins._Printer( "license", - "See http://www.python.org/psf/license/", + "See https://www.python.org/psf/license/", files, dirs)