Terry J. Reedy added the comment: Problems with patching 2.7 are no longer relevant.
To test, we should refactor config so that the attempt to find and access $HOME and .idlerc are isolated in a function that can be mocked to simulate various problems. def get_rc(): """Return a directory path that is readable and writable. If not possible, return an error indicator. <to be determined> """ Testing such a function is a different issue, but I would just reuse existing code. ---------- assignee: -> terry.reedy versions: +Python 3.7 -Python 2.7, Python 3.4, Python 3.5 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue8231> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com