This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ned.deily
Recipients lukasz.langa, ned.deily, vstinner
Date 2020-10-05.07:01:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1601881263.18.0.474767166198.issue41939@roundup.psfhosted.org>
In-reply-to
Content
For 3.9.0, test_site fails with an env changed warning:

Warning -- urllib.requests._opener was modified by test_site
  Before: None
  After:  <urllib.request.OpenerDirector object at 0xb76f4f88>
test_site failed (env changed)

== Tests result: SUCCESS ==

1 test altered the execution environment:
    test_site

The problem occurs in test_site's test_license_exists_at_url test and was introduced by the changes in Issue37421: "Some tests leak temporary files".

This failure has not been noticed up to now because test_license_exists_at_url is skipped unless the build being tested is for a released branch, which is about to happen for 3.9 with the 3.9.0 release.  The test failure can be reproduced on any build by commenting out Lib/test_site.py lines 503-504:

    @unittest.skipUnless(sys.version_info[3] == 'final',
                         'only for released versions')

Setting to "deferred blocker" status for release manager evaluation.
History
Date User Action Args
2020-10-05 07:01:03ned.deilysetrecipients: + ned.deily, vstinner, lukasz.langa
2020-10-05 07:01:03ned.deilysetmessageid: <1601881263.18.0.474767166198.issue41939@roundup.psfhosted.org>
2020-10-05 07:01:03ned.deilylinkissue41939 messages
2020-10-05 07:01:02ned.deilycreate