#12092: get doctest coverage of databases/stein_watkins.py to 100%
------------------------------------------------------------------+---------
       Reporter:  minz                                            |         
Owner:  mvngu              
           Type:  enhancement                                     |        
Status:  needs_review       
       Priority:  minor                                           |     
Milestone:  sage-5.7           
      Component:  doctest                                         |    
Resolution:                     
       Keywords:                                                  |   Work 
issues:                     
Report Upstream:  Reported upstream. Developers acknowledge bug.  |     
Reviewers:  Karl-Dieter Crisman
        Authors:  Moritz Minzlaff                                 |     Merged 
in:                     
   Dependencies:                                                  |      
Stopgaps:                     
------------------------------------------------------------------+---------

Comment (by kcrisman):

 When running optional doctests before installing,
 {{{
     IOError: The Stein-Watkins data file
 /Users/...sage-5.7.beta3/local/share/stein-watkins-ecdb/a.000.bz2 must be
 installed.
 }}}
 But of course there is no such file.  And attempting the "small" version
 gives
 {{{
 $ sage -i database-stein-watkins-mini.p0
 Attempting to download package database-stein-watkins-mini.p0
 >>> Checking online list of optional packages.
 [.]
 >>> Checking online list of experimental packages.
 [.]
 >>> Checking online list of standard packages.
 [.]
 >>> Checking online list of archive packages.
 [.]
 Error: could not find a package matching database-stein-watkins-mini.p0 in
 http://www.sagemath.org/packages
 }}}
 same without the p0.  However, checking the list of optional packages
 shows that
 {{{
 $ sage -i database_stein_watkins_mini.p0
 }}}
 works - and only that with the p0, interestingly.

 However, that is not enough to pass the tests.  It's not clear to me if
 there is a bug that none of the tests seems to work with it, or not.

 > Who is able to change the offending file name?
 I think that for now this solution is appropriate, given that the
 instructions are clear (or will be, once I submit a reviewer patch for the
 underscores).

 It will take me a while to download the actual database to make sure that
 tests do pass then :)

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12092#comment:13>
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to