On Fri, Aug 13, 2010 at 12:08 AM, Dr. David Kirkby
<david.kir...@onetel.net> wrote:
> How can I add a comment to the doc test, which will not be printed in the
> documentation? I'd like to add the result from a high-precision computation,
> so anyone looking at the doctest in future could see what's a reasonable
> answer and what is not. I get very frustrated when I see an expected result
> of "23.32233298" or something like that, with no explanation why that result
> is expected.

I don't know of a way to add a comment to the doctest that won't be
shown as part of the documentation.  I'd recommend either letting it
show in the documentation or adding it as a Python comment just after
the doctest (at the first line of the function body).

Carl

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to