diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2019-01-05 12:13:53 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-05 12:13:53 -0700 |
commit | 8ead96cfeadd85be084caa4b2d1c79d80a51a358 (patch) | |
tree | 1643a4ecf2f660653f82c3debc800b014fc7c861 /numpy/lib/tests/test_recfunctions.py | |
parent | aef982e4482773e802cc0ef076bf5e76ff650cf9 (diff) | |
parent | ae6ac2e085635e383a38cc43e85edec39aa6e8d3 (diff) | |
download | numpy-8ead96cfeadd85be084caa4b2d1c79d80a51a358.tar.gz |
Merge pull request #12671 from ahaldane/fix_us_to_s_tst
TST: Fix endianness in unstuctured_to_structured test
Diffstat (limited to 'numpy/lib/tests/test_recfunctions.py')
-rw-r--r-- | numpy/lib/tests/test_recfunctions.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/numpy/lib/tests/test_recfunctions.py b/numpy/lib/tests/test_recfunctions.py index 11f8a5afa..069693613 100644 --- a/numpy/lib/tests/test_recfunctions.py +++ b/numpy/lib/tests/test_recfunctions.py @@ -221,9 +221,9 @@ class TestRecFunctions(object): ( 5, ( 6., 7), [ 8., 9.]), (10, (11., 12), [13., 14.]), (15, (16., 17), [18., 19.])], - dtype=[('a', '<i4'), - ('b', [('f0', '<f4'), ('f1', '<u2')]), - ('c', '<f4', (2,))]) + dtype=[('a', 'i4'), + ('b', [('f0', 'f4'), ('f1', 'u2')]), + ('c', 'f4', (2,))]) assert_equal(out, want) d = np.array([(1, 2, 5), (4, 5, 7), (7, 8 ,11), (10, 11, 12)], |