Skip overzealous test for existence of the online license.html for pre-release versions.

This commit is contained in:
Georg Brandl 2013-10-27 09:41:57 +01:00
parent 2d34f41bee
commit 78abc9dcc2

View file

@ -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.