commit | 33dddac00ba8d9b72cf21b8698504077eb3c23ad | [log] [tgz] |
---|---|---|
author | Anselm Kruis <a.kruis@science-computing.de> | Fri Feb 23 02:37:38 2018 +0100 |
committer | Gregory P. Smith <greg@krypto.org> | Thu Feb 22 17:37:38 2018 -0800 |
tree | 40893955f445131d96c340493afd027cfcaa66f5 | |
parent | 520b7ae27e39d1c77ea74ccd1b184d7cb43f9dcb [diff] |
bpo-30028: make test.support.temp_cwd() fork-safe (GH-1066) Make test.support.temp_cwd() fork-safe. The context manager test.support.temp_cwd() no longer removes the temporary directory when executing in a process other than the parent it entered from. If a forked child exits the context manager it won't do the cleanup.