def mkdirs(path):
    if not os.path.isdir(path):
        try:
            os.makedirs(path)
        except __HOLE__ as err:
            if err.errno != errno.EEXIST or not os.path.isdir(path):
                raise
dataset/ETHPy150Open zerovm/zerovm-cli/zvshlib/tests/functional/tests.py/mkdirs