[Scipy-svn] r6631 - trunk/scipy/stats/tests

scipy-svn at scipy.org scipy-svn at scipy.org
Tue Jul 20 12:13:46 EDT 2010


Author: ptvirtan
Date: 2010-07-20 11:13:46 -0500 (Tue, 20 Jul 2010)
New Revision: 6631

Modified:
   trunk/scipy/stats/tests/test_distributions.py
Log:
TST: stats: mark the TestFitMethod tests as slow

Modified: trunk/scipy/stats/tests/test_distributions.py
===================================================================
--- trunk/scipy/stats/tests/test_distributions.py	2010-07-18 19:21:56 UTC (rev 6630)
+++ trunk/scipy/stats/tests/test_distributions.py	2010-07-20 16:13:46 UTC (rev 6631)
@@ -3,7 +3,8 @@
 """
 
 from numpy.testing import TestCase, run_module_suite, assert_equal, \
-    assert_array_equal, assert_almost_equal, assert_array_almost_equal, rand
+    assert_array_equal, assert_almost_equal, assert_array_almost_equal, \
+    rand, dec
 
 
 import numpy
@@ -387,6 +388,8 @@
 
 class TestFitMethod(TestCase):
     skip = ['ncf']
+
+    @dec.slow
     def test_fit(self):
         for func, dist, args, alpha in test_all_distributions():
             if dist in self.skip:
@@ -405,7 +408,7 @@
                 assert(len(vals) == 2+len(args))
                 assert(len(vals2)==2+len(args))
                 
-
+    @dec.slow
     def test_fix_fit(self):
         for func, dist, args, alpha in test_all_distributions():
             # Not sure why 'ncf', and 'beta' are failing




More information about the Scipy-svn mailing list