mirror of
https://github.com/wassname/scikit-image.git
synced 2026-10-02 12:41:06 +08:00
Fix catched warning
This commit is contained in:
1 parent
7960d296dd
commit
749f5876ce
1 file changed
+1
-1
@@ -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))
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user