commit | ee4293400cff1d5f9a7a6dd8e9aaa6ba6623e348 | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Sat Apr 16 18:53:59 2011 +0200 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Sat Apr 16 18:53:59 2011 +0200 |
tree | 579ae44f65b5632aeb744f56446f0dfadce0c1c3 | |
parent | 1d827ff43d6340db759ddc08c6ab1efa3e1886d1 [diff] |
Fix possible "file already exists" error when running the tests in parallel. This is a perfect example of LBYL going wrong: that code could be executed by several workers in parallel, and os.mkdir() attempted on the same path by multiple processes.