My modification to sage-coverage checks to see that doctests are present in the docstring of a cdef'd function but doesn't check that the function name is there (because it usually won't be). David
On Jan 16, 2008 2:24 PM, Nick Alexander <[EMAIL PROTECTED]> wrote: > > > On 16-Jan-08, at 11:17 AM, Robert Bradshaw wrote: > > > > > Sounds like a good idea--I'll be able to participate in the morning > > at least. Do we want to require all cdef functions to have doctests? > > Also, how to test them? > > I vote to require. Presumably all cdef functions are exercised by > some part of the python accessible code (otherwise, why are they > present?). Doctests in cdef docstrings are found by the doctesting > architecture and executed. So they will be tested, just not in the > most straightforward way :) > > Nick > > > > --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~----------~----~----~----~------~----~------~--~---