summaryrefslogtreecommitdiff
path: root/numpy/f2py/tests/test_array_from_pyobj.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2014-07-27 12:00:58 -0500
committerCharles Harris <charlesr.harris@gmail.com>2014-07-27 12:00:58 -0500
commit9ae5b5fab9f0c04c31c5d4b67d00c3cc79062731 (patch)
treedb8ff646ecbd0187f3d7c165779e26108570be92 /numpy/f2py/tests/test_array_from_pyobj.py
parent3b5f871606a758f8bf19981b06f423792cbdc5f4 (diff)
parent7eefe925e6c6139d14972ee92affc4c2f19a7de6 (diff)
downloadnumpy-9ae5b5fab9f0c04c31c5d4b67d00c3cc79062731.tar.gz
Merge pull request #4907 from juliantaylor/win-alignment
TST: win32 also does not provide 16 byte alignment
Diffstat (limited to 'numpy/f2py/tests/test_array_from_pyobj.py')
-rw-r--r--numpy/f2py/tests/test_array_from_pyobj.py2
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']