> I'm considering writing two decorators to easily turn any function
> into a setup or teardown method
That's done now:
http://gist.github.com/214495
It was a good learning experience, and as such probably not flawless.
(It's certainly more obscure than I'd like... )
-- F.