summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorRobert Kern <robert.kern@gmail.com>2008-07-17 09:09:04 +0000
committerRobert Kern <robert.kern@gmail.com>2008-07-17 09:09:04 +0000
commit4bc3f39680039a89832eba8bcffc5a2b30176da5 (patch)
tree1585203ac4b8b76344ebb0d7ca4ad455238d5c77 /numpy
parent16146b44c79631d7ab82652690b0b476d5c57bdb (diff)
downloadnumpy-4bc3f39680039a89832eba8bcffc5a2b30176da5.tar.gz
FOR BUILDBOT: More unsavory workarounds for Sparc64. Change back when we've fixed the actual bug.
Diffstat (limited to 'numpy')
-rw-r--r--numpy/ma/tests/test_core.py2
-rw-r--r--numpy/ma/tests/test_mrecords.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/numpy/ma/tests/test_core.py b/numpy/ma/tests/test_core.py
index 0abe68ab7..e480d139a 100644
--- a/numpy/ma/tests/test_core.py
+++ b/numpy/ma/tests/test_core.py
@@ -937,7 +937,7 @@ class TestFillingValues(TestCase):
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.),),
diff --git a/numpy/ma/tests/test_mrecords.py b/numpy/ma/tests/test_mrecords.py
index 882f448ff..abc061503 100644
--- a/numpy/ma/tests/test_mrecords.py
+++ b/numpy/ma/tests/test_mrecords.py
@@ -327,7 +327,7 @@ class TestMRecords(TestCase):
#
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.))
#