mirror of
https://github.com/python/cpython.git
synced 2025-11-13 15:40:05 +00:00
fix tests on systems that can't validate python.org
This commit is contained in:
parent
c0b743a97b
commit
337578b242
1 changed files with 1 additions and 0 deletions
|
|
@ -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"),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue