def setUp(self):
        self.single_dir_path = os.path.join(self.OUTPUT_DIR, 'single')
        self.multi_dir_top_path = os.path.join(self.OUTPUT_DIR, 'multi')
        self.multi_dir_full_path = os.path.join(self.multi_dir_top_path,
                                                'sub1',
                                                'sub2')

        try:
            os.remove(self.single_dir_path)
        except __HOLE__:
            pass

        shutil.rmtree(self.single_dir_path, ignore_errors=True)
        shutil.rmtree(self.multi_dir_top_path, ignore_errors=True)
dataset/ETHPy150Open GeoscienceAustralia/agdc/tests/test_cube_util.py/TestCreateDirectory.setUp