I ran into the same issue a while ago. If the exception happens in setup_*() the corresponding teardown for that context is never executed. I had to hack a fix to make it work as I expected it.
You received this message because you are subscribed to the Google Groups "nose-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nose-users+...@googlegroups.com.
To post to this group, send email to nose-...@googlegroups.com.
Visit this group at https://groups.google.com/group/nose-users.
For more options, visit https://groups.google.com/d/optout.