Message198071
| Author |
michael.foord |
| Recipients |
asvetlov, benjamin.peterson, charettes, ezio.melotti, fabioz, gvanrossum, matthewlmcclure, matthewlmcclure-gmail, meador.inge, michael.foord, pitrou, python-dev, r.david.murray, rhettinger, terry.reedy, tim.peters, tomwardill |
| Date |
2013年09月19日.13:40:14 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1379598014.37.0.875403427342.issue11798@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Ah right, my mistake. Before setUp there shouldn't be test state. (Although tests are free to do whatever they want in __init__ too and I've seen plenty of TestCase subclasses using __init__ when they should be using setUp.)
Essentially though _cleanup is a backwards compatibility feature - and suites that need _cleanup as a public api are already living without testcase dict cleanup. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2013年09月19日 13:40:14 | michael.foord | set | recipients:
+ michael.foord, gvanrossum, tim.peters, rhettinger, terry.reedy, pitrou, fabioz, benjamin.peterson, ezio.melotti, r.david.murray, matthewlmcclure, asvetlov, meador.inge, python-dev, tomwardill, matthewlmcclure-gmail, charettes |
| 2013年09月19日 13:40:14 | michael.foord | set | messageid: <1379598014.37.0.875403427342.issue11798@psf.upfronthosting.co.za> |
| 2013年09月19日 13:40:14 | michael.foord | link | issue11798 messages |
| 2013年09月19日 13:40:14 | michael.foord | create |
|