[Numpy-svn] r5446 - trunk/numpy/ma/tests

numpy-svn@scip... numpy-svn@scip...
Thu Jul 17 04:09:09 CDT 2008


Author: rkern
Date: 2008-07-17 04:09:04 -0500 (Thu, 17 Jul 2008)
New Revision: 5446

Modified:
   trunk/numpy/ma/tests/test_core.py
   trunk/numpy/ma/tests/test_mrecords.py
Log:
FOR BUILDBOT: More unsavory workarounds for Sparc64. Change back when we've fixed the actual bug.

Modified: trunk/numpy/ma/tests/test_core.py
===================================================================
--- trunk/numpy/ma/tests/test_core.py	2008-07-17 08:56:08 UTC (rev 5445)
+++ trunk/numpy/ma/tests/test_core.py	2008-07-17 09:09:04 UTC (rev 5446)
@@ -937,7 +937,7 @@
     def test_fillvalue_exotic_dtype(self):
         "Tests yet more exotic flexible dtypes"
         _check_fill_value = np.ma.core._check_fill_value
-        ndtype = [('i',int), ('s','|S3'), ('f',float)]
+        ndtype = [('i',int), ('s','|S8'), ('f',float)]
         control = np.array((default_fill_value(0),
                             default_fill_value('0'),
                             default_fill_value(0.),),

Modified: trunk/numpy/ma/tests/test_mrecords.py
===================================================================
--- trunk/numpy/ma/tests/test_mrecords.py	2008-07-17 08:56:08 UTC (rev 5445)
+++ trunk/numpy/ma/tests/test_mrecords.py	2008-07-17 09:09:04 UTC (rev 5446)
@@ -327,7 +327,7 @@
     #
     def test_exotic_formats(self):
         "Test that 'exotic' formats are processed properly"
-        easy = mrecarray(1, dtype=[('i',int), ('s','|S3'), ('f',float)])
+        easy = mrecarray(1, dtype=[('i',int), ('s','|S8'), ('f',float)])
         easy[0] = masked
         assert_equal(easy.filled(1).item(), (1,'1',1.))
         #



More information about the Numpy-svn mailing list