From: Georg Brandl Date: Sun, 27 Oct 2013 08:41:57 +0000 (+0100) Subject: Skip overzealous test for existence of the online license.html for pre-release versions. X-Git-Tag: v3.3.3rc1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=78abc9dcc2a854cd56c410377449dc50d7f46e3d;p=python Skip overzealous test for existence of the online license.html for pre-release versions. --- diff --git a/Lib/test/test_site.py b/Lib/test/test_site.py index db94b7b2a7..c294c65b58 100644 --- a/Lib/test/test_site.py +++ b/Lib/test/test_site.py @@ -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.