@decorator
def close_open_connections(fn, *args, **kw):
    try:
        fn(*args, **kw)
    finally:
        testing_reaper.close_all()
Decorator that closes all connections after fn execution.
dataset/ETHPy150Open RoseOu/flasky/venv/lib/python2.7/site-packages/sqlalchemy/testing/engines.py/close_open_connections