diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2015-12-11 09:51:16 -0700 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2015-12-11 09:51:16 -0700 |
commit | 192bff5ea1b37359c45e4e54c4b14b402e368663 (patch) | |
tree | b7fe978cc725e61ae30ce681b9df4d44f3ad8b60 /numpy | |
parent | 9424d3616d8c80b7f0b4dcf31ff3c335db76c0fa (diff) | |
download | numpy-192bff5ea1b37359c45e4e54c4b14b402e368663.tar.gz |
TST,BUG: Make test_mvoid_multidim_print work for 32 bit systems.
The test currently uses an `<i8` type which is converted to a Python
long integer when running on a 32 bit system with Python 2. That changes
the string printed by appending `L` to the printed integer value and
results in a failed test.
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/ma/tests/test_core.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/ma/tests/test_core.py b/numpy/ma/tests/test_core.py index 36b3c5ad0..53cdef978 100644 --- a/numpy/ma/tests/test_core.py +++ b/numpy/ma/tests/test_core.py @@ -756,7 +756,7 @@ class TestMaskedArray(TestCase): t_ma = masked_array(data = [([1, 2, 3],)], mask = [([False, True, False],)], fill_value = ([999999, 999999, 999999],), - dtype = [('a', '<i8', (3,))]) + dtype = [('a', '<i4', (3,))]) assert_(str(t_ma[0]) == "([1, --, 3],)") assert_(repr(t_ma[0]) == "([1, --, 3],)") |