Pylons/pyramid — pull request #613 by jinty (2012-05-28 17:07:43+00:00)
Title: A context manager for test setup

I've started using this context manager quite a bit in my code rather than the setUp and tearDown. I find it makes the tests quite a bit easier to read as I don't have to search for a setUp method to figure out what's happening.

It also reduces the temptation to put lots of test-specific code into the setUp.