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 vstinner
Recipients serhiy.storchaka, vstinner
Date 2017-04-20.11:49:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAMpsgwaf7LW_cHDS19Y0iEc=4+xVgSHFZncTypLaAyO9TzWedA@mail.gmail.com>
In-reply-to <1492663933.15.0.169549320867.issue30108@psf.upfronthosting.co.za>
Content
Serhiy Storchaka added the comment:
> I'm wondering if the user site directory should be removed in tearDownModule().

Writing into $HOME/.local is just completely wrong :-) The test suite
must not modify the "system".

On a buildbot, $HOME is the root directory / and so the test is
skipped since the buildbot user is not allowed to create /.local.

If you want to enhance the code: setUpModule() should mock $HOME to
use a temporary directory.
History
Date User Action Args
2017-04-20 11:49:58vstinnersetrecipients: + vstinner, serhiy.storchaka
2017-04-20 11:49:58vstinnerlinkissue30108 messages
2017-04-20 11:49:58vstinnercreate