@contextlib.contextmanager
def temp_directory():
    directory = tempfile.mkdtemp()
    try:
        yield directory
    finally:
        shutil.rmtree(directory)
Confirm to player that item was sold
dataset/ETHPy150Open Kozea/WeasyPrint/weasyprint/tests/testing_utils.py/temp_directory--crossover with--dataset/ETHPy150Open justinmeister/The-Stolen-Crown-RPG/data/shopgui.py/Gui.accept_sale