From 2a2a1ea144554cc17d141374e2d9223bfd2f5e07 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Sun, 7 Apr 2013 19:02:11 +0200 Subject: [PATCH] Fix tests which are hardcoded for little-endian CPUs --- Tests/test_image_array.py | 4 ++-- Tests/test_lib_pack.py | 6 ++++-- Tests/test_mode_i16.py | 4 +++- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/Tests/test_image_array.py b/Tests/test_image_array.py index c2e85903a..351621d3a 100644 --- a/Tests/test_image_array.py +++ b/Tests/test_image_array.py @@ -10,8 +10,8 @@ def test_toarray(): return ai["shape"], ai["typestr"], len(ai["data"]) # assert_equal(test("1"), ((100, 128), '|b1', 1600)) assert_equal(test("L"), ((100, 128), '|u1', 12800)) - assert_equal(test("I"), ((100, 128), '