From: Antonio Valentino Date: Sat, 3 Aug 2019 16:22:13 +0000 (+0000) Subject: Skip index backcompat tests on bingendian X-Git-Tag: archive/raspbian/3.10.2-1+rpi1~4 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=2a5b3ddc4de1ddbd5bd519ab423500cdab235a11;p=pytables.git Skip index backcompat tests on bingendian Forwarded: not-needed Gbp-Pq: Name 0004-Skip-index-backcompat-tests-on-bingendian.patch --- diff --git a/tables/tests/test_index_backcompat.py b/tables/tests/test_index_backcompat.py index d921baa..0bcf026 100644 --- a/tables/tests/test_index_backcompat.py +++ b/tables/tests/test_index_backcompat.py @@ -1,7 +1,9 @@ from tables.tests import common +import sys # Check indexes from PyTables version 2.0 +@common.unittest.skipIf(sys.byteorder != 'little', 'broken on big-endian') class IndexesTestCase(common.TestFileMixin, common.PyTablesTestCase): def setUp(self): @@ -139,11 +141,13 @@ class IndexesTestCase(common.TestFileMixin, common.PyTablesTestCase): # Check indexes from PyTables version 2.0 +@common.unittest.skipIf(sys.byteorder != 'little', 'broken on big-endian') class Indexes2_0TestCase(IndexesTestCase): h5fname = common.test_filename("indexes_2_0.h5") # Check indexes from PyTables version 2.1 +@common.unittest.skipIf(sys.byteorder != 'little', 'broken on big-endian') class Indexes2_1TestCase(IndexesTestCase): h5fname = common.test_filename("indexes_2_1.h5")