Exception inside loop wrongly failing doctest

Steven D'Aprano steve at REMOVETHIS.cybersource.com.au
Fri Jun 12 06:45:41 EDT 2009


Lie Ryan wrote:

> Lie Ryan wrote:
>> Steven D'Aprano wrote:
>>> One of my doctests is failing, and I suspect a bug.
...
> it seems that if the expected result is a traceback, the doc result must
> starts with the traceback keyword:


Ah, that would be it. Not a bug then, a limitation of the doctest module. 

Thanks,



-- 
Steven




More information about the Python-list mailing list