Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 78abc9d

Browse files
committed
Skip overzealous test for existence of the online license.html for pre-release versions.
1 parent 2d34f41 commit 78abc9d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Lib/test/test_site.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,8 @@ def test_sitecustomize_executed(self):
416416
self.fail("sitecustomize not imported automatically")
417417

418418
@test.support.requires_resource('network')
419+
@unittest.skipUnless(sys.version_info[3] == 'final',
420+
'only for released versions')
419421
def test_license_exists_at_url(self):
420422
# This test is a bit fragile since it depends on the format of the
421423
# string displayed by license in the absence of a LICENSE file.

0 commit comments

Comments
 (0)