[Numpy-svn] r5087 - trunk/numpy/lib/tests

numpy-svn@scip... numpy-svn@scip...
Fri Apr 25 13:13:50 CDT 2008


Author: dhuard
Date: 2008-04-25 13:13:46 -0500 (Fri, 25 Apr 2008)
New Revision: 5087

Modified:
   trunk/numpy/lib/tests/test_function_base.py
Log:
Added an ignore warning in the test to avoid buildbot messages.

Modified: trunk/numpy/lib/tests/test_function_base.py
===================================================================
--- trunk/numpy/lib/tests/test_function_base.py	2008-04-25 18:00:09 UTC (rev 5086)
+++ trunk/numpy/lib/tests/test_function_base.py	2008-04-25 18:13:46 UTC (rev 5087)
@@ -428,6 +428,8 @@
         assert_array_almost_equal(w,flipud(w),7)
 
 class TestHistogram(NumpyTestCase):
+    import warnings
+    warnings.simplefilter('ignore', FutureWarning)
     def check_simple(self):
         n=100
         v=rand(n)



More information about the Numpy-svn mailing list