There are occasional failures on the first testcase in the nightly tests where multiple test processes see that the directory to be created does not exist, but then only the first os.makedirs will succeed and others will fail because the directory now exists. Setting the exist_ok parameter will avoid this exception.
There are occasional failures on the first testcase in the nightly tests where multiple test processes see that the directory to be created does not exist, but then only the first
os.makedirs
will succeed and others will fail because the directory now exists. Setting theexist_ok
parameter will avoid this exception.