#16992: Direct Fixdoctests
-------------------------------------+-------------------------------------
       Reporter:  vbraun             |        Owner:
           Type:  enhancement        |       Status:  needs_work
       Priority:  major              |    Milestone:  sage-6.4
      Component:  scripts            |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Volker Braun       |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/vbraun/direct_fixdoctests        |  da59f20583c9a9aeb0ca64c9a1403da412666bd6
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by jdemeyer):

 And could you please add a `\n` to the output file, because otherwise you
 always get
 {{{
 #!diff
 diff --git a/src/sage/rings/integer.pyx b/src/sage/rings/integer.pyx
 index c85ba09..59cb6c1 100644
 --- a/src/sage/rings/integer.pyx
 +++ b/src/sage/rings/integer.pyx
 @@ -6515,4 +6515,4 @@ cdef double mpz_get_d_nearest(mpz_t x) except?
 -648555075988944.5:
      cdef double d = <double>q64
      if resultsign < 0:
          d = -d
 -    return ldexp(d, shift)
 +    return ldexp(d, shift)
 \ No newline at end of file
 }}}
 (I know you didn't introduce this bug, but it's such a trivial fix...)

--
Ticket URL: <http://trac.sagemath.org/ticket/16992#comment:6>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to