mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-01 05:42:05 +08:00
Fix failing test
This commit is contained in:
@@ -77,7 +77,7 @@ def test_downcast():
|
||||
with expected_warnings('Downcasting'):
|
||||
y = img_as_int(x)
|
||||
assert np.allclose(y, x.astype(np.int16))
|
||||
assert y.dtype == np.uint16, y.dtype
|
||||
assert y.dtype == np.int16, y.dtype
|
||||
|
||||
|
||||
def test_float_out_of_range():
|
||||
|
||||
Reference in New Issue
Block a user