File: 0008-Testsuite-ignore-performance-problems-on-s390x.patch

package info (click to toggle)
napari 0.6.6-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 12,004 kB
  • sloc: python: 112,264; xml: 72; makefile: 42; sh: 5
file content (29 lines) | stat: -rw-r--r-- 1,078 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
22
23
24
25
26
27
28
29
From: Roland Mas <roland.mas@entierement.net>
Date: Sat, 29 Nov 2025 15:42:07 +0100
Subject: Testsuite: ignore performance problems on s390x

---
 src/napari/layers/image/_tests/test_image_utils.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/napari/layers/image/_tests/test_image_utils.py b/src/napari/layers/image/_tests/test_image_utils.py
index a6b677e..dc9177a 100644
--- a/src/napari/layers/image/_tests/test_image_utils.py
+++ b/src/napari/layers/image/_tests/test_image_utils.py
@@ -6,7 +6,7 @@ import dask.array as da
 import numpy as np
 import pytest
 import skimage
-from hypothesis import given
+from hypothesis import given, settings, HealthCheck
 from hypothesis.extra.numpy import array_shapes
 from skimage.transform import pyramid_gaussian
 
@@ -49,6 +49,7 @@ def test_guess_rgb():
 
 
 @given(shape=array_shapes(min_dims=3, min_side=0))
+@settings(suppress_health_check=[HealthCheck.too_slow])
 def test_guess_rgb_property(shape):
     sig = inspect.signature(guess_rgb)
     min_side_len = sig.parameters['min_side_len'].default