Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37560347
en ru br
Репозитории ALT
S:3.8.0-alt3.2
5.1: 2.2b2-alt1.svn20090911
www.altlinux.org/Changes

Группа :: Development/Python3
Пакет: pytables

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: 0005-Skip-index-backcompat-tests-on-bingendian.patch
Скачать


From: Antonio Valentino <antonio.valentino@tiscali.it>
Date: Sat, 3 Aug 2019 16:22:13 +0000
Subject: Skip index backcompat tests on bingendian
Forwarded: not-needed
---
 tables/tests/test_index_backcompat.py | 4 ++++
 1 file changed, 4 insertions(+)
diff --git a/tables/tests/test_index_backcompat.py b/tables/tests/test_index_backcompat.py
index 4d4e261..5d9b9de 100644
--- a/tables/tests/test_index_backcompat.py
+++ b/tables/tests/test_index_backcompat.py
@@ -6,8 +6,10 @@ from tables.tests.common import verbose
 from tables.tests.common import unittest, test_filename
 from tables.tests.common import PyTablesTestCase as TestCase
 
+import sys
 
 # Check indexes from PyTables version 2.0
+@unittest.skipIf(sys.byteorder != 'little', 'broken on big-endian')
 class IndexesTestCase(common.TestFileMixin, TestCase):
 
     def setUp(self):
@@ -145,11 +147,13 @@ class IndexesTestCase(common.TestFileMixin, TestCase):
 
 
 # Check indexes from PyTables version 2.0
+@unittest.skipIf(sys.byteorder != 'little', 'broken on big-endian')
 class Indexes2_0TestCase(IndexesTestCase):
     h5fname = test_filename("indexes_2_0.h5")
 
 
 # Check indexes from PyTables version 2.1
+@unittest.skipIf(sys.byteorder != 'little', 'broken on big-endian')
 class Indexes2_1TestCase(IndexesTestCase):
     h5fname = test_filename("indexes_2_1.h5")
 
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin