[Scipy-svn] r6572 - trunk/scipy/integrate/tests

scipy-svn@scip... scipy-svn@scip...
Sun Jun 27 08:49:56 CDT 2010


Author: warren.weckesser
Date: 2010-06-27 08:49:56 -0500 (Sun, 27 Jun 2010)
New Revision: 6572

Modified:
   trunk/scipy/integrate/tests/test_integrate.py
   trunk/scipy/integrate/tests/test_quadpack.py
   trunk/scipy/integrate/tests/test_quadrature.py
Log:
TST: Don't use 'import *'.

Modified: trunk/scipy/integrate/tests/test_integrate.py
===================================================================
--- trunk/scipy/integrate/tests/test_integrate.py	2010-06-27 13:11:51 UTC (rev 6571)
+++ trunk/scipy/integrate/tests/test_integrate.py	2010-06-27 13:49:56 UTC (rev 6572)
@@ -7,7 +7,7 @@
 from numpy import arange, zeros, array, dot, sqrt, cos, sin, eye, pi, exp, \
                   allclose
 
-from numpy.testing import *
+from numpy.testing import TestCase, run_module_suite
 from scipy.integrate import odeint, ode, complex_ode
 
 #------------------------------------------------------------------------------

Modified: trunk/scipy/integrate/tests/test_quadpack.py
===================================================================
--- trunk/scipy/integrate/tests/test_quadpack.py	2010-06-27 13:11:51 UTC (rev 6571)
+++ trunk/scipy/integrate/tests/test_quadpack.py	2010-06-27 13:49:56 UTC (rev 6572)
@@ -1,5 +1,5 @@
 from numpy import sqrt, cos, sin, arctan, exp, log, pi, Inf
-from numpy.testing import *
+from numpy.testing import TestCase, run_module_suite
 from scipy.integrate import quad, dblquad, tplquad
 
 def assert_quad((value, err), tabledValue, errTol=1.5e-8):

Modified: trunk/scipy/integrate/tests/test_quadrature.py
===================================================================
--- trunk/scipy/integrate/tests/test_quadrature.py	2010-06-27 13:11:51 UTC (rev 6571)
+++ trunk/scipy/integrate/tests/test_quadrature.py	2010-06-27 13:49:56 UTC (rev 6572)
@@ -1,7 +1,8 @@
 
 import numpy
 from numpy import cos, sin, pi
-from numpy.testing import *
+from numpy.testing import TestCase, run_module_suite, assert_equal, \
+    assert_almost_equal
 
 from scipy.integrate import quadrature, romberg, romb, newton_cotes
 



More information about the Scipy-svn mailing list