diff options
-rw-r--r-- | numpy/ma/tests/test_core.py | 2 | ||||
-rw-r--r-- | numpy/ma/tests/test_mrecords.py | 2 |
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.)) # |