#2790: [with patch, positive review] very annoying output of new "sage -tp"
------------------------------------+------------------------
       Reporter:  was               |        Owner:  mabshoff
           Type:  defect            |       Status:  closed
       Priority:  major             |    Milestone:  sage-3.0
      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:

> The new sage -tp has output like this:
> {{{
>
> The following tests failed:
>
>         sage -t  devel/sage-modabvar/sage/modular/modform/space.py: 8
> doctests failed
>         sage -t  devel/sage-
> modabvar/sage/modular/modform/eisenstein_submodule.py: 1 doctests failed
>         sage -t  devel/sage-modabvar/sage/modular/modform/element.py: 1
> doctests failed
>         sage -t  devel/sage-modabvar/sage/modular/abvar/morphism.py: 8
> doctests failed
>         sage -t  devel/sage-modabvar/sage/modular/abvar/homspace.py: 8
> doctests failed
> ----------------------------------------------------------------------
> Total time for all tests: 1586.7 seconds
> teragon:sage was$
> }}}
>
> This is very annoying because I typically *paste* in the output in order
> to rerun broken doctests.
>
> Easy fix insert a #, i.e., change : x doctests failed to # : x doctests
> failed.

New description:

 The new sage -tp has output like this:
 {{{

 The following tests failed:

 sage -t  devel/sage-modabvar/sage/modular/modform/space.py: 8 doctests
 failed
 sage -t  devel/sage-modabvar/sage/modular/modform/eisenstein_submodule.py:
 1 doctests failed
 sage -t  devel/sage-modabvar/sage/modular/modform/element.py: 1 doctests
 failed
 sage -t  devel/sage-modabvar/sage/modular/abvar/morphism.py: 8 doctests
 failed
 sage -t  devel/sage-modabvar/sage/modular/abvar/homspace.py: 8 doctests
 failed
 ----------------------------------------------------------------------
 Total time for all tests: 1586.7 seconds
 teragon:sage was$
 }}}

 This is very annoying because I typically *paste* in the output in order
 to rerun broken doctests.

 Easy fix insert a #, i.e., change : x doctests failed to # : x doctests
 failed.

--

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