[py-dev] using funcargs for setup/teardown

Frederik Dohr fdg001 at gmx.net
Sun Oct 25 19:28:21 CET 2009


> 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.



More information about the Pytest-dev mailing list