download.py
5.09 KB
-
Make tests multi-process friendly. (#3683) · 8db483bf
This side effect at module import time has a race condition between the "exists" check and the "mkdir" call. The safer thing is to just call mkdir and catch the "already exists" error which is what makedirs does.
Tim Hatch committed