[Scipy-svn] r4629 - branches/stats_models/tests

scipy-svn at scipy.org scipy-svn at scipy.org
Fri Aug 8 17:10:50 EDT 2008


Author: chris.burns
Date: 2008-08-08 16:10:46 -0500 (Fri, 08 Aug 2008)
New Revision: 4629

Modified:
   branches/stats_models/tests/test_formula.py
   branches/stats_models/tests/test_scale.py
Log:
Add decorators to skip known test failures.

Modified: branches/stats_models/tests/test_formula.py
===================================================================
--- branches/stats_models/tests/test_formula.py	2008-08-08 21:10:03 UTC (rev 4628)
+++ branches/stats_models/tests/test_formula.py	2008-08-08 21:10:46 UTC (rev 4629)
@@ -63,6 +63,7 @@
             self.formula += self.terms[i]
         self.formula.namespace = self.namespace
 
+    @dec.skipknownfailure
     def test_namespace(self):
         space1 = {'X':N.arange(50), 'Y':N.arange(50)*2}
         space2 = {'X':N.arange(20), 'Y':N.arange(20)*2}

Modified: branches/stats_models/tests/test_scale.py
===================================================================
--- branches/stats_models/tests/test_scale.py	2008-08-08 21:10:03 UTC (rev 4628)
+++ branches/stats_models/tests/test_scale.py	2008-08-08 21:10:46 UTC (rev 4629)
@@ -30,11 +30,16 @@
         m = scale.MAD(X, axis=-1)
         self.assertEquals(m.shape, (40,10))
 
+    # FIXME: Fix the axis length bug in stats.models.robust.scale.huber
+    #     Then resolve ticket #587
+    @dec.skipknownfailure
     def test_huber(self):
         X = W((40,10))
         m = scale.huber(X)
         self.assertEquals(m.shape, (10,))
 
+    # FIXME: Fix the axis length bug in stats.models.robust.scale.huber
+    @dec.skipknownfailure
     def test_huberaxes(self):
         X = W((40,10,30))
         m = scale.huber(X, axis=0)




More information about the Scipy-svn mailing list