[Scipy-svn] r6539 - branches/0.8.x/scipy/interpolate/tests

scipy-svn@scip... scipy-svn@scip...
Fri Jun 18 09:38:19 CDT 2010


Author: rgommers
Date: 2010-06-18 09:38:19 -0500 (Fri, 18 Jun 2010)
New Revision: 6539

Modified:
   branches/0.8.x/scipy/interpolate/tests/test_fitpack.py
Log:
TST: filter test warnings for interpolate.fitpack2 tests in 0.8.x branch.

Modified: branches/0.8.x/scipy/interpolate/tests/test_fitpack.py
===================================================================
--- branches/0.8.x/scipy/interpolate/tests/test_fitpack.py	2010-06-18 14:14:57 UTC (rev 6538)
+++ branches/0.8.x/scipy/interpolate/tests/test_fitpack.py	2010-06-18 14:38:19 UTC (rev 6539)
@@ -12,6 +12,8 @@
 """
 #import libwadpy
 
+import warnings
+
 from numpy.testing import *
 from numpy import array, diff
 from scipy.interpolate.fitpack2 import UnivariateSpline, LSQBivariateSpline, \
@@ -163,5 +165,9 @@
 
         assert_almost_equal(zi, zi2)
 
+# filter test_bilinearity and test_integral warnings
+warnings.filterwarnings("ignore", "\nThe coefficients of the spline returned")
+warnings.filterwarnings("ignore", "\nThe required storage space exceeds")
+
 if __name__ == "__main__":
     run_module_suite()



More information about the Scipy-svn mailing list