Commit 0a962c22 authored by Stefan Behnel's avatar Stefan Behnel

Fix a test on big-endian architectures.

Closes #1982.
parent 49414dbc
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment