Commit 337578b2 authored by Benjamin Peterson's avatar Benjamin Peterson

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

parent c0b743a9
...@@ -412,6 +412,7 @@ class ImportSideEffectTests(unittest.TestCase): ...@@ -412,6 +412,7 @@ class ImportSideEffectTests(unittest.TestCase):
self.fail("sitecustomize not imported automatically") self.fail("sitecustomize not imported automatically")
@test.support.requires_resource('network') @test.support.requires_resource('network')
@test.support.system_must_validate_cert
@unittest.skipUnless(sys.version_info[3] == 'final', @unittest.skipUnless(sys.version_info[3] == 'final',
'only for released versions') 'only for released versions')
@unittest.skipUnless(hasattr(urllib.request, "HTTPSHandler"), @unittest.skipUnless(hasattr(urllib.request, "HTTPSHandler"),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment