#13884: Fix optional internet tests.
----------------------------+-----------------------------------------------
       Reporter:  robertwb  |         Owner:  mvngu   
           Type:  defect    |        Status:  new     
       Priority:  major     |     Milestone:  sage-5.6
      Component:  doctest   |    Resolution:          
       Keywords:            |   Work issues:          
Report Upstream:  N/A       |     Reviewers:          
        Authors:            |     Merged in:          
   Dependencies:            |      Stopgaps:          
----------------------------+-----------------------------------------------

Comment (by kcrisman):

 Haha!  And the first one is not really a problem, just a logic issue.
 {{{
 sage -t --only_optional=internet
 devel/sage/sage/symbolic/integration/integral.py
     sage: f.integrate(algorithm="mathematica_free")       # optional --
 requires internet
 Expected:
     sqrt(pi)*sqrt(1/2)*fresnels(sqrt(2)*x/sqrt(pi)) + y^z*x
 Got:
     doctest:674: DeprecationWarning: Variable of integration should be
 specified explicitly.
     See http://trac.sagemath.org/12438 for details.
     sqrt(pi)*sqrt(1/2)*fresnels(sqrt(2)*x/sqrt(pi)) + y^z*x
 **********************************************************************
 Expected:
     doctest:...: DeprecationWarning:
     Variable of integration should be specified explicitly.
     See http://trac.sagemath.org/12438 for details.
     1/2*x^2
 Got:
     1/2*x^2
 }}}
 What happens is that when the test is done, the deprecation warning, which
 '''only occurs once''', occurs with the internet test.  This is a two-
 character fix.  I'll try to see if I can fix any others along with it.

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