@decorator
def rollback_open_connections(fn, *args, **kw):

    try:
        fn(*args, **kw)
    finally:
        testing_reaper.rollback_all()
Decorator that rolls back all open connections after fn execution.
dataset/ETHPy150Open RoseOu/flasky/venv/lib/python2.7/site-packages/sqlalchemy/testing/engines.py/rollback_open_connections