#12023: doctest of sandpile.py TIMED OUT!, Multiple time hogging testing of same
functions
-------------------------------------------------------------------------------------------+
   Reporter:  emil                                                              
           |          Owner:  mvngu                               
       Type:  PLEASE CHANGE                                                     
           |         Status:  new                                 
   Priority:  minor                                                             
           |      Milestone:  sage-4.8                            
  Component:  doctest                                                           
           |       Keywords:  sandpile, doctest, multible doctests
Work_issues:  check doctests again, Flag repeating Tests of the same procedure 
as no test  |       Upstream:  N/A                                 
   Reviewer:                                                                    
           |         Author:                                      
     Merged:                                                                    
           |   Dependencies:                                      
-------------------------------------------------------------------------------------------+
 {{{
 sage -t -force_lib "devel/sage/sage/sandpiles/sandpile.py"
 *** *** Error: TIMED OUT! PROCESS KILLED! *** ***
          [360.2 s]
 }}}

 This doctest runs out of time on my PC. looking inside and doing doctests
 manually I found that there are 2 function calls which use the bunch of
 the time

 {{{
 S.resolution()
 }}}
 and
 {{{
 S.betti()
 }}}

 those functions are called in several docstrings with similar parameters.

 propsed fix is to write a TEST section which test those functions once and
 flag the other Examples as no test

 reported in [http://groups.google.com/group/sage-
 devel/browse_thread/thread/e1886d5ba5ade945]

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