summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2013-10-27 08:41:57 (GMT)
committerGeorg Brandl <georg@python.org>2013-10-27 08:41:57 (GMT)
commit78abc9dcc2a854cd56c410377449dc50d7f46e3d (patch)
tree69d202c268555ccc0ff4372f43439fc57740df65
parent2d34f41bee54f82a3cc3d7da47af05b4227300bd (diff)
downloadcpython-78abc9dcc2a854cd56c410377449dc50d7f46e3d.zip
cpython-78abc9dcc2a854cd56c410377449dc50d7f46e3d.tar.gz
cpython-78abc9dcc2a854cd56c410377449dc50d7f46e3d.tar.bz2
Skip overzealous test for existence of the online license.html for pre-release versions.v3.3.3rc1
-rw-r--r--Lib/test/test_site.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_site.py b/Lib/test/test_site.py
index db94b7b..c294c65 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.