From 6837740bb6ed520d2433e7f2ba3e48c5a881085c 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 5f9a95404..a4f49a91b 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,)),('