diff options
author | Julian Taylor <jtaylor.debian@googlemail.com> | 2014-07-27 12:51:49 +0200 |
---|---|---|
committer | Julian Taylor <jtaylor.debian@googlemail.com> | 2014-07-27 13:03:33 +0200 |
commit | 7eefe925e6c6139d14972ee92affc4c2f19a7de6 (patch) | |
tree | dd734ac48d437df180176117b922d3c4d592496d /numpy/f2py | |
parent | 594b0de1f09fde18c9c786994d7146a99f35e7d0 (diff) | |
download | numpy-7eefe925e6c6139d14972ee92affc4c2f19a7de6.tar.gz |
TST: win32 also does not provide 16 byte alignment
mingw builds set the alignment requirement for complex doubles types to
16 byte so the tests checking the alignment flag must be disabled.
Diffstat (limited to 'numpy/f2py')
-rw-r--r-- | numpy/f2py/tests/test_array_from_pyobj.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/f2py/tests/test_array_from_pyobj.py b/numpy/f2py/tests/test_array_from_pyobj.py index de954c374..2dcb9e834 100644 --- a/numpy/f2py/tests/test_array_from_pyobj.py +++ b/numpy/f2py/tests/test_array_from_pyobj.py @@ -111,7 +111,7 @@ _cast_dict['CFLOAT'] = _cast_dict['FLOAT'] + ['CFLOAT'] # 16 byte long double types this means the inout intent cannot be satisfied and # several tests fail as the alignment flag can be randomly true or fals # when numpy gains an aligned allocator the tests could be enabled again -if 'sparc' not in platform.platform().lower(): +if 'sparc' not in platform.platform().lower() and sys.platform != 'win32': _type_names.extend(['LONGDOUBLE', 'CDOUBLE', 'CLONGDOUBLE']) _cast_dict['LONGDOUBLE'] = _cast_dict['LONG'] + \ ['ULONG', 'FLOAT', 'DOUBLE', 'LONGDOUBLE'] |