def get_parser():
    p = Parser()
    try:
        os.mkdir("/tmp/Test Dir")
    except __HOLE__:
        pass  # dir exists
    open("/tmp/Test Dir/test.txt", "w").close()
    return p
dataset/ETHPy150Open Calysto/metakernel/metakernel/tests/test_parser.py/get_parser