changeset 86687:fd53c500f8b8 3.3 v3.3.3rc1

Skip overzealous test for existence of the online license.html for pre-release versions.
author Georg Brandl <georg@python.org>
date Sun, 27 Oct 2013 09:41:57 +0100
parents 0b5780bdc630
children 9d6bbd824361
files Lib/test/test_site.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Lib/test/test_site.py	Sun Oct 27 09:22:59 2013 +0100
+++ b/Lib/test/test_site.py	Sun Oct 27 09:41:57 2013 +0100
@@ -416,6 +416,8 @@
                 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.