Message198080
| Author |
pitrou |
| 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日.15:16:05 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1409825530.4487012.1379603759418.JavaMail.root@zimbra10-e2.priv.proxad.net> |
| In-reply-to |
<1379601103.12.0.0743073494196.issue11798@psf.upfronthosting.co.za> |
| Content |
> Unfortunately the TestSuite.addTests api iterates over a suite to add
> new tests. i.e. the code that builds a TestSuite for module probably
> already iterates over the suites returned by
> TestLoader.loadTestsFromTestCase - so the change would need to be
> more pervasive.
addTests() could easily be tweaked to recognize that it gets passed a
TestSuite, and special-case that.
Also, TestCase objects could probably get an optional "spec" attribute
pointing to their TestSpec. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2013年09月19日 15:16:05 | pitrou | set | recipients:
+ pitrou, gvanrossum, tim.peters, rhettinger, terry.reedy, fabioz, benjamin.peterson, ezio.melotti, r.david.murray, michael.foord, matthewlmcclure, asvetlov, meador.inge, python-dev, tomwardill, matthewlmcclure-gmail, charettes |
| 2013年09月19日 15:16:05 | pitrou | link | issue11798 messages |
| 2013年09月19日 15:16:05 | pitrou | create |
|