mirror of
https://github.com/python/cpython.git
synced 2026-05-16 17:38:22 -04:00
33dddac00b
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.