[Python-Dev] I'd like to add an __iter__ method to unittest.TestSuite

Jim Fulton jim at zope.com
Fri Aug 6 17:54:53 CEST 2004


TestSuite objects provide no public mechanism for iteration.
We have a need to be able to iterate over them.  Up to now,
we've been using the _tests attribute, which is bad.

If no one objects, I'll add an __iter__ method.

Jim

-- 
Jim Fulton           mailto:jim at zope.com       Python Powered!
CTO                  (540) 361-1714            http://www.python.org
Zope Corporation     http://www.zope.org


More information about the Python-Dev mailing list

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant