Message157829
| Author |
r.david.murray |
| Recipients |
michael.foord, pitrou, r.david.murray |
| Date |
2012年04月09日.01:52:01 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1333936322.51.0.74354007344.issue14533@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I can't imagine when you'd *not* want setUpModule/tearDownModule to run, so that's a reasonable conversion path. The other path for reap_children and reap_threads would be to apply them to the individual classes that require them within the test module. Which you do depends on how many test classes need the cleanups, I think.
I'm sure there will be other subtleties to be solved for other modules. Note that I'm not advocating anyone go through and wholesale convert test modules. But I think any time someone would otherwise have to update the list of tests in test_main, converting that test to eliminate test_main should be considered. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年04月09日 01:52:02 | r.david.murray | set | recipients:
+ r.david.murray, pitrou, michael.foord |
| 2012年04月09日 01:52:02 | r.david.murray | set | messageid: <1333936322.51.0.74354007344.issue14533@psf.upfronthosting.co.za> |
| 2012年04月09日 01:52:01 | r.david.murray | link | issue14533 messages |
| 2012年04月09日 01:52:01 | r.david.murray | create |
|