#6439: doctests beginning with Sage: are silently ignored
-----------------------+----------------------------------------------------
   Reporter:  broune   |          Owner:  tbd
       Type:  defect   |         Status:  new
   Priority:  major    |      Milestone:     
  Component:  doctest  |       Keywords:     
Work_issues:           |       Upstream:  N/A
   Reviewer:           |         Author:     
     Merged:           |   Dependencies:     
-----------------------+----------------------------------------------------
Changes (by mjo):

 * cc: mjo (added)
  * upstream:  => N/A


Comment:

 Is this '''really''' a problem?

  1. You shouldn't be re-typing your doctests by hand; you should
 copy/paste an actual sage session to avoid errors.
  2. This only affects one-line doctests, unless you make the same mistake
 more than once. For example any lines referencing `t` should fail if your
 first line is "Sage: var('t')".
  3. If there are N tests passing before you add yours, there should be N+1
 passing afterwards.
  4. All patches are reviewed and this should certainly catch (3).

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6439#comment:1>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to