◐ Shell
clean mode source ↗

Message 297874 - Python tracker

I dislike the idea of opening all $HOME/.idlerc/ directory and store their content in memory.

If a unit test writes into $HOME, we already have an issue. Unit tests must not modify the user configuration. If an unit test is interrupted, there is a high risk of leaving the modified configuration.

If idle tests need a well defined configuration, I suggest to start by modifiying idlelib.config.idleConf to use a temporary directory, or mock the whole object.