[issue30227] test_site must not write outside the build directory: must not write into $HOME/.local/

2018-09-19 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Pyth

[issue30227] test_site must not write outside the build directory: must not write into $HOME/.local/

2017-05-02 Thread STINNER Victor
New submission from STINNER Victor: test_site creates the $HOME/.local/lib/python3.7/site-packages/ directory, or parent directories if needed. That's wrong. An unit test must not modify its environment, especially the home directory! The unit test must mock $HOME environment variable and mock