Message159896
I tend to like context managers, or helpers that work with addCleanup, so that I keep the scaffolding next to the test code. setUp and tearDown are better in some cases, though. It is also possible to have an helper work as a decorator and a context manager and a setUp-tearDown thing with small effort. |
|
Date |
User |
Action |
Args |
2012-05-04 03:25:32 | eric.araujo | set | recipients:
+ eric.araujo, barry, brett.cannon, jaraco, eric.smith |
2012-05-04 03:25:32 | eric.araujo | set | messageid: <1336101932.54.0.866616266922.issue14715@psf.upfronthosting.co.za> |
2012-05-04 03:25:31 | eric.araujo | link | issue14715 messages |
2012-05-04 03:25:31 | eric.araujo | create | |
|