File: 0005-Deal-with-big-endian-architectures.patch

package info (click to toggle)
silx 2.2.1%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 31,696 kB
  • sloc: python: 119,829; ansic: 5,062; lisp: 4,454; cpp: 883; sh: 286; makefile: 90; xml: 46
file content (21 lines) | stat: -rw-r--r-- 826 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Roland Mas <lolando@debian.org>
Date: Fri, 21 Mar 2025 16:07:43 +0100
Subject: Deal with big-endian architectures

---
 src/silx/io/test/test_utils.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/silx/io/test/test_utils.py b/src/silx/io/test/test_utils.py
index 55a0d9c..05011b5 100644
--- a/src/silx/io/test/test_utils.py
+++ b/src/silx/io/test/test_utils.py
@@ -349,7 +349,7 @@ class TestH5Ls(unittest.TestCase):
                 r'\t\t\t<HDF5-like dataset "file_header": shape \(2,\), type "|O">',
                 lines)
         self.assertMatchAnyStringInList(
-                r'\t\t<HDF5-like dataset "Ordinate1": shape \(3,\), type "<f4">',
+                r'\t\t<HDF5-like dataset "Ordinate1": shape \(3,\), type "[<>]f4">',
                 lines)
 
         os.unlink(spec_fname)