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.
On Wed, Feb 06, 2008 at 06:44:10AM -0000, Mark Shuttleworth wrote: widgets. date to work.
> 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.
This is easily solved by passing optionflags= ELLIPSIS when creating the
DocTestSuite in the test_widgets.py file.
Regards,
Bjorn