]> granicus.if.org Git - python/commitdiff
Skip overzealous test for existence of the online license.html for pre-release versions. v3.3.3rc1
authorGeorg Brandl <georg@python.org>
Sun, 27 Oct 2013 08:41:57 +0000 (09:41 +0100)
committerGeorg Brandl <georg@python.org>
Sun, 27 Oct 2013 08:41:57 +0000 (09:41 +0100)
Lib/test/test_site.py

index db94b7b2a70fc89f3be89e0cc7c00168960ccadb..c294c65b58295fe70d73315ae4c144db615deedf 100644 (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.