In-code doctests require # ELLIPSIS
Bug #189489 reported by
Mark Shuttleworth
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.
Changed in launchpad: | |
assignee: | nobody → barry |
Changed in launchpad-foundations: | |
assignee: | barry → nobody |
importance: | Undecided → Low |
status: | New → Confirmed |
To post a comment you must log in.
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