fix tests on systems that can't validate python.org

This commit is contained in:
Benjamin Peterson 2015-02-01 20:16:59 -05:00
parent c0b743a97b
commit 337578b242
1 changed files with 1 additions and 0 deletions

View File

@ -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"),