From 1ff374274f0bd9309e4177dd321b40a1ba0dc4f9 Mon Sep 17 00:00:00 2001 From: Allan Haldane Date: Fri, 19 Jan 2018 23:49:43 +0000 Subject: [PATCH] BUG: Fix various Big-Endian test failures (ppc64) --- numpy/core/tests/test_arrayprint.py | 11 ++++++----- numpy/core/tests/test_dtype.py | 2 +- numpy/core/tests/test_records.py | 3 +-- numpy/core/tests/test_scalarmath.py | 2 ++ 4 files changed, 10 insertions(+), 8 deletions(-) diff --git a/numpy/core/tests/test_arrayprint.py b/numpy/core/tests/test_arrayprint.py index 522cd3413f0a..3b6bc7b0f595 100644 --- a/numpy/core/tests/test_arrayprint.py +++ b/numpy/core/tests/test_arrayprint.py @@ -28,7 +28,7 @@ class sub(np.ndarray): pass ' [3, 4]])') # two dimensional with flexible dtype - xstruct = np.ones((2,2), dtype=[('a', 'i4')]).view(sub) + xstruct = np.ones((2,2), dtype=[('a', '= 3: - assert_equal(repr(np.array('café', np.unicode_)), + assert_equal(repr(np.array('café', '