@contextmanager
def temp_dir():
    tmpdir = tempfile.mkdtemp()
    try:
        yield tmpdir
    finally:
        shutil.rmtree(tmpdir)
Internal helper to construct opening and closing tag expressions, given a tag name
dataset/ETHPy150Open jdswinbank/Comet/comet/testutils.py/temp_dir--crossover with--dataset/ETHPy150Open ipython/ipython-py3k/IPython/external/pyparsing/_pyparsing.py/_makeTags