[Pyunit-interest] I'd like to add an __iter__ method to unittest.TestSuite
Brought to you by:
purcell
From: Jim F. <ji...@zo...> - 2004-08-06 15:58:01
|
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. (I'll do this in the Python CVS repository.) Jim -- Jim Fulton mailto:ji...@zo... Python Powered! CTO (540) 361-1714 http://www.python.org Zope Corporation http://www.zope.com http://www.zope.org |