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
|