Message159896
| Author |
eric.araujo |
| Recipients |
barry, brett.cannon, eric.araujo, eric.smith, jaraco |
| Date |
2012年05月04日.03:25:31 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1336101932.54.0.866616266922.issue14715@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|
History
|
|---|
| 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 |
|