summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2008-07-20 07:46:28 +0000
committerCharles Harris <charlesr.harris@gmail.com>2008-07-20 07:46:28 +0000
commit1c82d097e226f638c2464dae7730cbab596171b3 (patch)
tree25e12a8679c672d61ad2a43480aa3eeca85bf121 /numpy
parentda3677060f54b6ac39db93728b4e9948adeeae6c (diff)
downloadnumpy-1c82d097e226f638c2464dae7730cbab596171b3.tar.gz
Testing SPARC alignment.
Diffstat (limited to 'numpy')
-rw-r--r--numpy/ma/tests/test_mrecords.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/numpy/ma/tests/test_mrecords.py b/numpy/ma/tests/test_mrecords.py
index abc061503..411e3ee59 100644
--- a/numpy/ma/tests/test_mrecords.py
+++ b/numpy/ma/tests/test_mrecords.py
@@ -327,6 +327,8 @@ class TestMRecords(TestCase):
#
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.))