Comment 1 for bug 189489

Revision history for this message
Björn Tillenius (bjornt) wrote : Re: [Bug 189489] [NEW] In-code doctests require # ELLIPSIS

On Wed, Feb 06, 2008 at 06:44:10AM -0000, Mark Shuttleworth wrote:
> Public bug reported:
>
> When writing doc tests in code docstrings, it is currently necessary
> sometimes to specify that ELLIPSIS is used. For example, this is
> necessary for the tests in canonical.widgets.date to work.

This is easily solved by passing optionflags=ELLIPSIS when creating the
DocTestSuite in the test_widgets.py file.

Regards,

Bjorn