#4386: [with patch, positive review] Sage 3.1.4: optional doctest failure in
sage/rings/number_field/totallyreal_phc.py
------------------------------------+--------------------------
       Reporter:  mabshoff          |        Owner:  craigcitro
           Type:  defect            |       Status:  closed
       Priority:  major             |    Milestone:  sage-3.2
      Component:  doctest coverage  |   Resolution:  fixed
       Keywords:                    |    Merged in:
        Authors:                    |    Reviewers:
Report Upstream:  N/A               |  Work issues:
         Branch:                    |       Commit:
   Dependencies:                    |     Stopgaps:
------------------------------------+--------------------------
Changes (by chapoton):

 * upstream:   => N/A


Old description:

> {{{
> sage -t -long -optional
> devel/sage/sage/rings/number_field/totallyreal_phc.py
> **********************************************************************
> File "/scratch/mabshoff/release-
> cycle/sage-3.1.3.final/tmp/totallyreal_phc.py", line 86:
>     sage: __lagrange_bounds_phc(3,5,[8,1,2,0,1],tmpfile='phc') # optional
> Exception raised:
>     Traceback (most recent call last):
>       File "/scratch/mabshoff/release-
> cycle/sage-3.1.3.final/local/lib/python2.5/doctest.py", line 1228, in
> __run
>         compileflags, 1) in test.globs
>       File "<doctest __main__.example_2[2]>", line 1, in <module>
> __lagrange_bounds_phc(Integer(3),Integer(5),[Integer(8),Integer(1),Integer(2),Integer(0),Integer(1)],tmpfile='phc')
> # optional###line 86:
>     sage: __lagrange_bounds_phc(3,5,[8,1,2,0,1],tmpfile='phc') # optional
>     NameError: name '__lagrange_bounds_phc' is not defined
> **********************************************************************
> File "/scratch/mabshoff/release-
> cycle/sage-3.1.3.final/tmp/totallyreal_phc.py", line 89:
>     sage: __lagrange_bounds_phc(3,2,[8,1,2,0,1],tmpfile='phc') # optional
> Exception raised:
>     Traceback (most recent call last):
>       File "/scratch/mabshoff/release-
> cycle/sage-3.1.3.final/local/lib/python2.5/doctest.py", line 1228, in
> __run
>         compileflags, 1) in test.globs
>       File "<doctest __main__.example_2[3]>", line 1, in <module>
> __lagrange_bounds_phc(Integer(3),Integer(2),[Integer(8),Integer(1),Integer(2),Integer(0),Integer(1)],tmpfile='phc')
> # optional###line 89:
>     sage: __lagrange_bounds_phc(3,2,[8,1,2,0,1],tmpfile='phc') # optional
>     NameError: name '__lagrange_bounds_phc' is not defined
> **********************************************************************
> File "/scratch/mabshoff/release-
> cycle/sage-3.1.3.final/tmp/totallyreal_phc.py", line 92:
>     sage: __lagrange_bounds_phc(3,1,[8,1,2,0,1],tmpfile='phc') # optional
> Exception raised:
>     Traceback (most recent call last):
>       File "/scratch/mabshoff/release-
> cycle/sage-3.1.3.final/local/lib/python2.5/doctest.py", line 1228, in
> __run
>         compileflags, 1) in test.globs
>       File "<doctest __main__.example_2[4]>", line 1, in <module>
> __lagrange_bounds_phc(Integer(3),Integer(1),[Integer(8),Integer(1),Integer(2),Integer(0),Integer(1)],tmpfile='phc')
> # optional###line 92:
>     sage: __lagrange_bounds_phc(3,1,[8,1,2,0,1],tmpfile='phc') # optional
>     NameError: name '__lagrange_bounds_phc' is not defined
> **********************************************************************
> 1 items had failures:
>    3 of   5 in __main__.example_2
> ***Test Failed*** 3 failures.
> For whitespace errors, see the file /scratch/mabshoff/release-
> cycle/sage-3.1.3.final/tmp/.doctest_totallyreal_phc.py
>          [2.0 s]
> exit code: 1024
> }}}

New description:

 {{{
 sage -t -long -optional
 devel/sage/sage/rings/number_field/totallyreal_phc.py
 **********************************************************************
 File "/scratch/mabshoff/release-
 cycle/sage-3.1.3.final/tmp/totallyreal_phc.py", line 86:
     sage: __lagrange_bounds_phc(3,5,[8,1,2,0,1],tmpfile='phc') # optional
 Exception raised:
     Traceback (most recent call last):
       File "/scratch/mabshoff/release-
 cycle/sage-3.1.3.final/local/lib/python2.5/doctest.py", line 1228, in
 __run
         compileflags, 1) in test.globs
       File "<doctest __main__.example_2[2]>", line 1, in <module>
 
__lagrange_bounds_phc(Integer(3),Integer(5),[Integer(8),Integer(1),Integer(2),Integer(0),Integer(1)],tmpfile='phc')
 # optional###line 86:
     sage: __lagrange_bounds_phc(3,5,[8,1,2,0,1],tmpfile='phc') # optional
     NameError: name '__lagrange_bounds_phc' is not defined
 **********************************************************************
 File "/scratch/mabshoff/release-
 cycle/sage-3.1.3.final/tmp/totallyreal_phc.py", line 89:
     sage: __lagrange_bounds_phc(3,2,[8,1,2,0,1],tmpfile='phc') # optional
 Exception raised:
     Traceback (most recent call last):
       File "/scratch/mabshoff/release-
 cycle/sage-3.1.3.final/local/lib/python2.5/doctest.py", line 1228, in
 __run
         compileflags, 1) in test.globs
       File "<doctest __main__.example_2[3]>", line 1, in <module>
 
__lagrange_bounds_phc(Integer(3),Integer(2),[Integer(8),Integer(1),Integer(2),Integer(0),Integer(1)],tmpfile='phc')
 # optional###line 89:
     sage: __lagrange_bounds_phc(3,2,[8,1,2,0,1],tmpfile='phc') # optional
     NameError: name '__lagrange_bounds_phc' is not defined
 **********************************************************************
 File "/scratch/mabshoff/release-
 cycle/sage-3.1.3.final/tmp/totallyreal_phc.py", line 92:
     sage: __lagrange_bounds_phc(3,1,[8,1,2,0,1],tmpfile='phc') # optional
 Exception raised:
     Traceback (most recent call last):
       File "/scratch/mabshoff/release-
 cycle/sage-3.1.3.final/local/lib/python2.5/doctest.py", line 1228, in
 __run
         compileflags, 1) in test.globs
       File "<doctest __main__.example_2[4]>", line 1, in <module>
 
__lagrange_bounds_phc(Integer(3),Integer(1),[Integer(8),Integer(1),Integer(2),Integer(0),Integer(1)],tmpfile='phc')
 # optional###line 92:
     sage: __lagrange_bounds_phc(3,1,[8,1,2,0,1],tmpfile='phc') # optional
     NameError: name '__lagrange_bounds_phc' is not defined
 **********************************************************************
 1 items had failures:
    3 of   5 in __main__.example_2
 ***Test Failed*** 3 failures.
 For whitespace errors, see the file /scratch/mabshoff/release-
 cycle/sage-3.1.3.final/tmp/.doctest_totallyreal_phc.py
  [2.0 s]
 exit code: 1024
 }}}

--

--
Ticket URL: <http://trac.sagemath.org/ticket/4386#comment:7>
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