#12340: the optional polymake doctests are seriously misformatted so never run
-----------------------+----------------------------------------------------
   Reporter:  was      |          Owner:  mvngu   
       Type:  defect   |         Status:  new     
   Priority:  minor    |      Milestone:  sage-5.0
  Component:  doctest  |       Keywords:          
Work_issues:           |       Upstream:  N/A     
   Reviewer:           |         Author:          
     Merged:           |   Dependencies:          
-----------------------+----------------------------------------------------
 {{{
 sage: search_src('polymake')
 }}}
 reveals many tests marked {{{# optional: needs polymake}}}.
 These will *NOT* get run by doing
 {{{
 sage -t -only_optional=polymake geometry/polytope.py
 }}}

 They should be formatted as
 {{{
 #optional - polymake
 }}}

 By the way, this test works fine without polymake is installed, because it
 doesn't do anything, so improve that by adding another test right after
 this that actually exercise the optional package.
 {{{
 sage: P = polymake.convex_hull([[1,0,0,0], [1,0,0,1], [1,0,1,0],
 [1,0,1,1],  [1,1,0,0], [1,1,0,1], [1,1,1,0], [1,1,1,1]])
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12340>
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