[Numpy-svn] r6308 - trunk/numpy/core/tests

numpy-svn@scip... numpy-svn@scip...
Thu Jan 8 23:27:10 CST 2009


Author: cdavid
Date: 2009-01-08 23:26:58 -0600 (Thu, 08 Jan 2009)
New Revision: 6308

Modified:
   trunk/numpy/core/tests/test_print.py
Log:
Tag formatting unit tests as known failures.

Modified: trunk/numpy/core/tests/test_print.py
===================================================================
--- trunk/numpy/core/tests/test_print.py	2009-01-09 02:14:35 UTC (rev 6307)
+++ trunk/numpy/core/tests/test_print.py	2009-01-09 05:26:58 UTC (rev 6308)
@@ -25,6 +25,7 @@
         assert_equal(str(tp(1e10)), ref,
                      err_msg='Failed str formatting for type %s' % tp)
 
+@dec.knownfailureif(True, "formatting tests are known to fail")
 def test_float_types():
     """ Check formatting.
 
@@ -41,6 +42,7 @@
         assert_equal(str(tp(x)), _REF[x],
                      err_msg='Failed str formatting for type %s' % tp)
 
+@dec.knownfailureif(True, "formatting tests are known to fail")
 def test_nan_inf_float():
     """ Check formatting.
 
@@ -73,6 +75,7 @@
         assert_equal(str(tp(1e10)), ref,
                      err_msg='Failed str formatting for type %s' % tp)
 
+@dec.knownfailureif(True, "formatting tests are known to fail")
 def test_complex_types():
     """Check formatting.
 
@@ -114,11 +117,13 @@
               complex(np.nan, 1), complex(-np.inf, 1)] :
         _test_redirected_print(complex(x), tp)
 
+@dec.knownfailureif(True, "formatting tests are known to fail")
 def test_float_type_print():
     """Check formatting when using print """
     for t in [np.float32, np.double, np.longdouble] :
         yield check_float_type_print, t
 
+@dec.knownfailureif(True, "formatting tests are known to fail")
 def test_complex_type_print():
     """Check formatting when using print """
     for t in [np.complex64, np.cdouble, np.clongdouble] :
@@ -159,16 +164,19 @@
     finally:
         locale.setlocale(locale.LC_NUMERIC, locale=curloc)
 
+@dec.knownfailureif(True, "formatting tests are known to fail")
 @np.testing.dec.skipif(not has_french_locale(),
                        "Skipping locale test, French locale not found")
 def test_locale_single():
     return _test_locale_independance(np.float32)
 
+@dec.knownfailureif(True, "formatting tests are known to fail")
 @np.testing.dec.skipif(not has_french_locale(),
                        "Skipping locale test, French locale not found")
 def test_locale_double():
     return _test_locale_independance(np.double)
 
+@dec.knownfailureif(True, "formatting tests are known to fail")
 @np.testing.dec.skipif(not has_french_locale(),
                        "Skipping locale test, French locale not found")
 def test_locale_longdouble():



More information about the Numpy-svn mailing list