Ticket #877 (closed defect: fixed)
[with patch, positive review] "sage -coverage" should not care about functions which are local to other functions/methods
| Reported by: | cwitty | Owned by: | jhpalmieri |
|---|---|---|---|
| Priority: | minor | Milestone: | sage-4.1.1 |
| Component: | documentation | Keywords: | |
| Cc: | Author(s): | John Palmieri | |
| Report Upstream: | Reviewer(s): | William Stein, Harald Schilly | |
| Merged in: | Sage 4.1.1.alpha1 | Work issues: |
Description
Currently, if you have something like:
def foo():
def bar():
pass
pass
then "sage -coverage" will complain that bar() has no docstring or doctests. However, such functions cannot be (directly) doctested, so that warning is invalid. In my opinion, bar() should not be required to have a docstring either.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

