A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2004-August/047152.html below:

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

[Python-Dev] I'd like to add an __iter__ method to unittest.TestSuite [Python-Dev] I'd like to add an __iter__ method to unittest.TestSuiteTim Peters tim.peters at gmail.com
Fri Aug 6 18:16:17 CEST 2004
[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.
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4