From 749f5876ce317c56224f700c4de488a472704a5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Boulogne?= Date: Sun, 17 Jul 2016 19:40:17 +0200 Subject: [PATCH] Fix catched warning --- skimage/data/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skimage/data/__init__.py b/skimage/data/__init__.py index 274897e9..3a506f85 100644 --- a/skimage/data/__init__.py +++ b/skimage/data/__init__.py @@ -160,7 +160,7 @@ def horse(): (marauder). """ - with expected_warnings(['precision loss']): + with expected_warnings(['Possible precision loss', 'Possible sign loss']): return img_as_bool(load("horse.png", as_grey=True))