[Python-Dev] I'd like to add an iter method to unittest.TestSuite (original) (raw)
Tim Peters tim.peters at gmail.com
Fri Aug 6 18:16:17 CEST 2004
- Previous message: [Python-Dev] I'd like to add an __iter__ method to unittest.TestSuite
- Next message: [Python-Dev] pie-thon redux
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
[Jim Fulton]
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.
+1. The iteration protocol is endlessly useful, and this a natural use for it.
- Previous message: [Python-Dev] I'd like to add an __iter__ method to unittest.TestSuite
- Next message: [Python-Dev] pie-thon redux
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]