comments in doctests offset pocketlint's line numbers
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pocket-lint |
Fix Released
|
Low
|
Unassigned |
Bug Description
I just upgraded to pocketlint 0.5.4-0ppa0, and I noticed that line 182 of lp/registry/
-------
Mailing lists are not active when they are first registered.
>>> # These are the convoluted steps to create some mailing lists. We
>>> # can't use the shortcuts that other related tests use because those
>>> # leave the list in the ACTIVE state and we want to check things
>>> # before they get to that state.
=== DistroSeriesVoc
Reflects the available distribution series. Results are ordered by
`name`
Changed in pocket-lint: | |
status: | New → Triaged |
importance: | Undecided → Medium |
assignee: | nobody → Curtis Hovey (sinzui) |
Changed in pocket-lint: | |
assignee: | Curtis Hovey (sinzui) → nobody |
Changed in pocket-lint: | |
importance: | Medium → Low |
Changed in pocket-lint: | |
status: | Triaged → In Progress |
milestone: | none → future |
assignee: | nobody → Curtis Hovey (sinzui) |
status: | In Progress → Fix Committed |
Changed in pocket-lint: | |
status: | Fix Committed → Fix Released |
Changed in pocket-lint: | |
assignee: | Curtis Hovey (sinzui) → nobody |
DocTestParser drops comments in examples. It expects source code an want sections. I suppose the design assumes that comments belong in the narrative, not in example code users are expected to copy.