Fix failing test

This commit is contained in:
Steven Silvester
2015-12-12 16:42:54 -06:00
parent be7161d350
commit f3965885e8
+1 -1
View File
@@ -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():