mirror of
https://github.com/wassname/scikit-image.git
synced 2026-06-27 18:25:32 +08:00
Fix catched warning
This commit is contained in:
@@ -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