Hi Kwankyu,

On Mon, Oct 12, 2009 at 3:23 PM, Kwankyu <ekwan...@gmail.com> wrote:

<SNIP>

> Do I need to put a doctest anyway?

Yes. Put the doctest under a section called "TESTS:" and make sure to
reference the relevant ticket number. Doctests under the section
"TESTS:" are meant to demonstrate that a bug has been fixed. They
should also demonstrate the exceptions that are caught by the relevant
method/function/class. See, for example, the following page from the
reference manual:

http://www.sagemath.org/doc/reference/sage/rings/polynomial/multi_polynomial_ring.html#sage.rings.polynomial.multi_polynomial_ring.MPolynomialRing_polydict_domain.monomial_divides

-- 
Regards
Minh Van Nguyen

--~--~---------~--~----~------------~-------~--~----~
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