I'm trying to test code that listens to session events on all sessions. I 
can't pin it on any particular session or even sessionmaker due to the 
architecture of the software (sessions are explicitly instantiated on the 
fly).
All is well except that the listener sticks after the test is done, 
breaking test isolation. The ideal solution would be to unregister the 
listener in teardown(), but I don't see anything in the event API that 
could be used to do that.

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlalchemy+unsubscr...@googlegroups.com.
To post to this group, send email to sqlalchemy@googlegroups.com.
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to