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

numpy-svn@scip... numpy-svn@scip...
Sun Jul 20 02:46:30 CDT 2008


Author: charris
Date: 2008-07-20 02:46:28 -0500 (Sun, 20 Jul 2008)
New Revision: 5466

Modified:
   trunk/numpy/ma/tests/test_mrecords.py
Log:
Testing SPARC alignment.

Modified: trunk/numpy/ma/tests/test_mrecords.py
===================================================================
--- trunk/numpy/ma/tests/test_mrecords.py	2008-07-20 07:27:21 UTC (rev 5465)
+++ trunk/numpy/ma/tests/test_mrecords.py	2008-07-20 07:46:28 UTC (rev 5466)
@@ -327,6 +327,8 @@
     #
     def test_exotic_formats(self):
         "Test that 'exotic' formats are processed properly"
+        print "float alignment: ", np.dtype(np.float).alignment
+        print "int alignment: ", np.dtype(np.int).alignment
         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