This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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.14:31:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Having TestLoader.loadTestsFromTestCase() return a "lazy suite" that defers testcase instantiation until iteration is a nice idea.

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.
Date User Action Args
2013-09-19 14:31:43michael.foordsetrecipients: + 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 14:31:43michael.foordsetmessageid: <>
2013-09-19 14:31:43michael.foordlinkissue11798 messages
2013-09-19 14:31:42michael.foordcreate