STINNER Victor added the comment: 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. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30108> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com