commit | 61bd4d2e6319a3c5c3b9ce5f807b44a45cc1d4a1 | [log] [tgz] |
---|---|---|
author | Anselm Kruis <a.kruis@science-computing.de> | Fri Feb 23 17:27:28 2018 +0100 |
committer | Gregory P. Smith <greg@krypto.org> | Fri Feb 23 08:27:28 2018 -0800 |
tree | 0a928284e9b82da4a392a2d5e0b12f2d8f44266b | |
parent | b852d8c1f0b12e84549d83cd9b1ec0992b9d9703 [diff] |
[2.7] bpo-30028: make test.support.temp_cwd() fork-safe (GH-1066) (GH-5825) 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.. (cherry picked from commit 33dddac00ba8d9b72cf21b8698504077eb3c23ad) Co-authored-by: Anselm Kruis <a.kruis@science-computing.de>