[Python-checkins] cpython (3.4): fix tests on systems that can't validate python.org

benjamin.peterson python-checkins at python.org
Mon Feb 2 02:18:36 CET 2015


https://hg.python.org/cpython/rev/4bda963dcc11
changeset:   94444:4bda963dcc11
branch:      3.4
parent:      94442:a8737f0bbb7a
user:        Benjamin Peterson <benjamin at python.org>
date:        Sun Feb 01 20:16:59 2015 -0500
summary:
  fix tests on systems that can't validate python.org

files:
  Lib/test/test_site.py |  1 +
  1 files changed, 1 insertions(+), 0 deletions(-)


diff --git a/Lib/test/test_site.py b/Lib/test/test_site.py
--- a/Lib/test/test_site.py
+++ b/Lib/test/test_site.py
@@ -412,6 +412,7 @@
                 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"),

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list