From 431fc0e19810a73d8278b71d8f991b319b5377d8 Mon Sep 17 00:00:00 2001 From: Jason Rhinelander Date: Sat, 17 Feb 2018 11:07:37 -0400 Subject: [PATCH] Fix numpy dtypes test on big-endian architectures This fixes the test code on big-endian architectures: the array support (PR #832) had hard-coded the little-endian '<' but we need to use '>' on big-endian architectures. --- tests/test_numpy_dtypes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_numpy_dtypes.py b/tests/test_numpy_dtypes.py index ae5a7020d..2e6388517 100644 --- a/tests/test_numpy_dtypes.py +++ b/tests/test_numpy_dtypes.py @@ -103,7 +103,7 @@ def test_dtype(simple_dtype): partial_nested_fmt(), "[('a', 'S3'), ('b', 'S3')]", ("{{'names':['a','b','c','d'], " + - "'formats':[('S4', (3,)),('