In-code doctests require # ELLIPSIS

Bug #189489 reported by Mark Shuttleworth
4
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

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.

Changed in launchpad:
assignee: nobody → barry
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

Curtis Hovey (sinzui)
Changed in launchpad-foundations:
assignee: barry → nobody
importance: Undecided → Low
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.