File: Disable-test_8bit_with_16bit_depth-that-fails-on-big-endi.patch

package info (click to toggle)
python-imageio 2.37.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,144 kB
  • sloc: python: 26,306; makefile: 138
file content (21 lines) | stat: -rw-r--r-- 656 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Ole Streicher <olebole@debian.org>
Date: Tue, 11 Jul 2023 22:47:24 +0200
Subject: Disable test_8bit_with_16bit_depth that fails on big endian

https://github.com/imageio/imageio/issues/1016
---
 tests/test_pillow.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/test_pillow.py b/tests/test_pillow.py
index 6a382eb..46747ac 100644
--- a/tests/test_pillow.py
+++ b/tests/test_pillow.py
@@ -676,6 +676,7 @@ def test_write_format_warning(test_images):
     assert bytes_image == old_bytes
 
 
+@pytest.mark.xfail(reason="https://github.com/imageio/imageio/issues/1016")
 def test_8bit_with_16bit_depth():
     rng = np.random.default_rng()