[TIP] [issue5728] Support telling TestResult objects a test run has finished
Michael Foord
fuzzyman at voidspace.org.uk
Fri Apr 10 17:49:39 PDT 2009
Robert Collins wrote:
> As the bugtracker is down, and I'm not sure whether it will process mail
> or have things lost when it comes back, I'm resending this to the list
> to avoid any chance of lossage.
>
> ---
>
> I've written up a patch for this; it works with old result classes too.
>
> Hopefully the bugtracker will attach it in reply to this mail; if not
> I'll put in via the webui this evening.
>
> -Rob
>
I like your getattr pattern, nice and simple - and only single lookup
compared to using hasattr which I would probably have defaulted to.
Michael
--
http://www.ironpythoninaction.com/
http://www.voidspace.org.uk/blog
More information about the testing-in-python
mailing list