def sqla_listen(*args):
 event.listen(*args)
 _REGISTERED_SQLA_EVENTS.append(args)

def sqla_listen ( * args ) : event . listen ( * args ) _REGISTERED_SQLA_EVENTS . append ( args )
wrapper to track subscribers for test teardowns .