diff options
author | Stefan Behnel <stefan_ml@behnel.de> | 2019-01-19 15:35:23 +0100 |
---|---|---|
committer | Stefan Behnel <stefan_ml@behnel.de> | 2019-01-19 15:35:23 +0100 |
commit | 0a962c22acdb422e0a4956642aed5a08dcdcc1d1 (patch) | |
tree | 3976fe5dfbb7dbfb6860f6668df2fefee6d70f57 /tests | |
parent | 49414dbc7ddc2ca2979d6dbe1e44714b10d72e7e (diff) | |
download | cython-0a962c22acdb422e0a4956642aed5a08dcdcc1d1.tar.gz |
Fix a test on big-endian architectures.
Closes #1982.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/run/numpy_subarray.pyx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/run/numpy_subarray.pyx b/tests/run/numpy_subarray.pyx index a572d4914..c5d82d4b1 100644 --- a/tests/run/numpy_subarray.pyx +++ b/tests/run/numpy_subarray.pyx @@ -21,7 +21,7 @@ def test_record_subarray(): # Make sure the dtype looks like we expect assert descr.fields == {'a': (py_numpy.dtype('int32'), 0), - 'b': (py_numpy.dtype(('<f8', (3, 3))), 4)}, descr.fields + 'b': (py_numpy.dtype(('=f8', (3, 3))), 4)}, descr.fields # Make sure that HASSUBARRAY is working assert not np.PyDataType_HASSUBARRAY(descr) |