def destroy_index(self, dirname):
        if exists(dirname):
            try:
                rmtree(dirname)
            except __HOLE__, e:
                pass
dataset/ETHPy150Open dokipen/whoosh/tests/test_indexing.py/TestIndexing.destroy_index