def delete_dir(self):
        self.path = self.TestConfig['rdf.store_conf']
        try:
            if self.TestConfig['rdf.source'] == "Sleepycat":
                subprocess.call("rm -rf " + self.path, shell=True)
            elif self.TestConfig['rdf.source'] == "ZODB":
                delete_zodb_data_store(self.path)
        except __HOLE__ as e:
            if e.errno == 2:
                # The file may not exist and that's fine
                pass
            else:
                raise e
dataset/ETHPy150Open openworm/PyOpenWorm/tests/DataTestTemplate.py/_DataTest.delete_dir