summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Gohlke <cgohlke@uci.edu>2015-12-11 13:25:38 -0800
committerChristoph Gohlke <cgohlke@uci.edu>2015-12-11 13:25:38 -0800
commitbcc4334edaed9c72b1f81a07ff920a44e1a6ff13 (patch)
treefc1018a0e8db2e4bb9b0460ed083c37f20af45c8
parentdcdc9dea7863685cc04ddb89c6da6e466cab3ed3 (diff)
downloadnumpy-bcc4334edaed9c72b1f81a07ff920a44e1a6ff13.tar.gz
TST: Fix test_mvoid_multidim_print failures on Python 2.x for Windows
-rw-r--r--numpy/ma/tests/test_core.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/numpy/ma/tests/test_core.py b/numpy/ma/tests/test_core.py
index 53cdef978..e0d9f072c 100644
--- a/numpy/ma/tests/test_core.py
+++ b/numpy/ma/tests/test_core.py
@@ -764,25 +764,25 @@ class TestMaskedArray(TestCase):
t_2d = masked_array(data = [([[1, 2], [3,4]],)],
mask = [([[False, True], [True, False]],)],
- dtype = [('a', '<i8', (2,2))])
+ dtype = [('a', '<i4', (2,2))])
assert_(str(t_2d[0]) == "([[1, --], [--, 4]],)")
assert_(repr(t_2d[0]) == "([[1, --], [--, 4]],)")
t_0d = masked_array(data = [(1,2)],
mask = [(True,False)],
- dtype = [('a', '<i8'), ('b', '<i8')])
+ dtype = [('a', '<i4'), ('b', '<i4')])
assert_(str(t_0d[0]) == "(--, 2)")
assert_(repr(t_0d[0]) == "(--, 2)")
t_2d = masked_array(data = [([[1, 2], [3,4]], 1)],
mask = [([[False, True], [True, False]], False)],
- dtype = [('a', '<i8', (2,2)), ('b', float)])
+ dtype = [('a', '<i4', (2,2)), ('b', float)])
assert_(str(t_2d[0]) == "([[1, --], [--, 4]], 1.0)")
assert_(repr(t_2d[0]) == "([[1, --], [--, 4]], 1.0)")
t_ne = masked_array(data=[(1, (1, 1))],
mask=[(True, (True, False))],
- dtype = [('a', '<i8'), ('b', 'i4,i4')])
+ dtype = [('a', '<i4'), ('b', 'i4,i4')])
assert_(str(t_ne[0]) == "(--, (--, 1))")
assert_(repr(t_ne[0]) == "(--, (--, 1))")