mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Skip overzealous test for existence of the online license.html for pre-release versions.
This commit is contained in:
parent
2d34f41bee
commit
78abc9dcc2
1 changed files with 2 additions and 0 deletions
|
@ -416,6 +416,8 @@ class ImportSideEffectTests(unittest.TestCase):
|
|||
self.fail("sitecustomize not imported automatically")
|
||||
|
||||
@test.support.requires_resource('network')
|
||||
@unittest.skipUnless(sys.version_info[3] == 'final',
|
||||
'only for released versions')
|
||||
def test_license_exists_at_url(self):
|
||||
# This test is a bit fragile since it depends on the format of the
|
||||
# string displayed by license in the absence of a LICENSE file.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue