Closed jzoldak closed 7 years ago
This looks great, thanks. Could you please just add a comment in the code explaining that the used approach is specifically to avoid race conditions? Otherwise the code might look overly complicated without more context on the issue.
Hey @jphalip thanks for looking at my PR so quickly. I added the comment. Hope that explanation is clear.
Great, thank you!
@jphalip Thanks again for reviewing and merging in my change, and especially for creating and sharing this library. 😍 Any chance you would be able to create a new release so we can install these changes from pypi?
@jzoldak Sure, I've just pushed 0.4.1
@jphalip awesome, thx.
We have hit this race condition when running our tests multithreaded, because in our case the tests have the same baseline and output directories defined, and those directories do not yet exist.