From 337578b242b4ad203333d995af8d2fe3bff2dc83 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Sun, 1 Feb 2015 20:16:59 -0500 Subject: 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 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"), -- cgit v0.12 From d40f136d35cbe2ac4dd5b3bc8e3474343865b8dd Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Sun, 1 Feb 2015 20:17:22 -0500 Subject: https goodness --- Lib/site.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/site.py b/Lib/site.py index c0149b4..ad5d136 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) -- cgit v0.12